Geeks With Blogs
Rupreet's Weblog Looking deep inside under the hood February 2010 Entries
Avoid Assembly.LoadFrom; instead use Assembly.Load
Setting the context… We have a web application which communicates with WCF based service façade for any business functionality. This service façade then loads assembly (based on configuration) at the runtime for making the system pluggable. By default the implementation is in the service assembly itself. Below is the sample code for loading the assembly and creating an instance of the desired class. Assembly asm = Assembly.LoadFrom(Path.Comb... assemblyName)); ......

Posted On Tuesday, February 16, 2010 12:49 AM

Copyright © Rupreet Singh Gujral | Powered by: GeeksWithBlogs.net