Red Gate forums :: View topic - Using SmartAssembly in silverlight + MEF
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Using SmartAssembly in silverlight + MEF

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Daní



Joined: 13 Apr 2011
Posts: 1

PostPosted: Wed Apr 13, 2011 9:37 am    Post subject: Using SmartAssembly in silverlight + MEF Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Apr 14, 2011 5:42 pm    Post subject: Reply with quote

I've given it a quick look and I can obfuscate several XAPs and load them dynamically, so in general this looks okay to do.

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group