2009年6月20日
Silverlight - Dynamically Loading a DLL or XAP
為了讓 Silverlight 檔案越小越好,在 runtime 才載入必要的元件,是一個必須採取的策略。下面的參考資料,可以協助解決這個問題。
第二篇 "A Smaller XAP Preloader for Silverlight" 的範例很棒,不過,當使用 xap 中的物件時,通常也需要載入相關的 dll,因此程式需要些微的修改。
[Reference]
Silverlight - Dynamically Loading an Assembly: http://www.silverlightshow.net/items/Silverlight-Dynamically-Loading-an-Assembly.aspx
A Smaller XAP Preloader for Silverlight: http://pagebrooks.com/archive/2009/05/17/a-smaller-xap-preloader-for-silverlight.aspx
訂閱:
張貼留言 (Atom)
Deploying Vue & .NET with Google OAuth on GCP Cloud Run
Deploying Vue & .NET with Google OAuth on GCP Cloud Run Deploying Vue & .NET with Google OAuth on GCP Cloud Run...
沒有留言:
張貼留言