Using SmartAssembly in silverlight + MEF
DanÃ
Posts: 2
Hi,
I'm trying the smart assembly tool because I'm interested, in obfuscte and reduce size of silverlight applications.
My application has a plugging architecture taking profit of MEF deployment catalogs. That means I have many small xaps that are downloaded on demand. Really, I have one small application that acts as a Splash, once this application is downloaded it downloads the main application. Main application contains the shell and all the common references used by satellits xaps. Satellits xaps are downloaded on demand and do not include any dll (all references are marked as CopyLocal=False) as main xap contains all needed dependencies.
Please, can somebody tell me if I can use SmartAssembly in this scenario and if I can give some guide to optimize and obfuscate the xaps so they can run together.
Thanks
I'm trying the smart assembly tool because I'm interested, in obfuscte and reduce size of silverlight applications.
My application has a plugging architecture taking profit of MEF deployment catalogs. That means I have many small xaps that are downloaded on demand. Really, I have one small application that acts as a Splash, once this application is downloaded it downloads the main application. Main application contains the shell and all the common references used by satellits xaps. Satellits xaps are downloaded on demand and do not include any dll (all references are marked as CopyLocal=False) as main xap contains all needed dependencies.
Please, can somebody tell me if I can use SmartAssembly in this scenario and if I can give some guide to optimize and obfuscate the xaps so they can run together.
Thanks
Comments
The pain points for obfuscation, though, are reflection and BAML not matching the method names in the DLL, so the more complex your project is in this regard, the more likely you are to run into trouble.