ASP.NET Deployment - How to split BIN into multiple WebApp projects?

What is the best practice for sharing bin folder assemblies on multiple ASP.net sites in IIS 7?

I have several sites, each of which has slightly different HTML interfaces, but they all have the same mid-level logic and database. I do not want to reinstall the same DLLs for each of the many bin folders for every time I make changes.

Thanks.

+2
source share
3 answers

Yes, in fact, you want to deploy them separately. How it works.

If this really offends you, then consider whether this common code should be in the WCF service called by all of these sites.

+3
source

Another option is to make your .Net code smart enough so that it can load the correct external HTML interface based on the URL. This way, you can deploy your code in one place, and then several virtual directories use the same code.

+3
source

You might try to put them in a shared folder, and then change the assembly detection paths to look at that location.

0
source

All Articles