XAP 封裝包含:
AppManifest.xaml:部署清單<Deployment ... EntryPointAssembly="RemoteModuleLoading.Silverlight" EntryPointType="RemoteModuleLoading.Silverlight.App">
<Deployment.Parts>
<AssemblyPart x:Name="RemoteModuleLoading.Silverlight" Source="RemoteModuleLoading.Silverlight.dll" />
<AssemblyPart x:Name="Infrastructure.Silverlight" Source="Infrastructure.Silverlight.dll" />
<AssemblyPart x:Name="Microsoft.Practices.Composite.Silverlight" Source="Microsoft.Practices.Composite.Silverlight.dll" />
<!-- 更多組件 -->
</Deployment.Parts>
</Deployment>
Deployment 節點的 EntryPointAssembly 與 EntryPointType。App 類別)。UserControl 進行呈現。組件越多,下載與初始化時間越長,需注意模組粒度與快取策略。