A way to load DLL from central repository

后端 未结 6 1398
青春惊慌失措
青春惊慌失措 2020-12-31 11:57

We have lot of products and there are some common DLLs across each product\'s application. Right now we copy each common DLL into each product\'s bin directory and treat the

6条回答
  •  Happy的楠姐
    2020-12-31 12:15

    If you're talking about .NET, you can:

    • Load your DLL directly from a database by using Assembly.Load(byte[])
    • By using Assembly.TypeResolve event
    • By using TypeProvider class
    • By defining a probe directory in your config file

    Like:

       
        
            
                
            
        
    
    

提交回复
热议问题