ASP.NET deployment - How to share BIN across multiple WebApp Projects?

后端 未结 3 1484
甜味超标
甜味超标 2021-01-07 04:17

What is the best practice for sharing the assemblies of a bin folder across multiple ASP.net websites in IIS 7?

I\'ve got several sites, each with slightly different

相关标签:
3条回答
  • 2021-01-07 04:56

    You could possibly try putting them in a common folder location and then change the assembly probing paths to look in that location.

    0 讨论(0)
  • 2021-01-07 05:05

    Another option is to make your .Net code smart enough so that it can load the correct HTML front end based on the URL. That way you could deploy your code to one location, then have multiple virtual directories use the same code.

    0 讨论(0)
  • 2021-01-07 05:07

    Yes, actually, you do want to deploy them individually. That's how it works.

    If this truly offends you, then consider whether this common code should be in a WCF service called by all those sites.

    0 讨论(0)
提交回复
热议问题