Sunday, 15 March 2015

asp.net - C# shared code across multiple websites by moving code up a folder outside website -



asp.net - C# shared code across multiple websites by moving code up a folder outside website -

i have 3 differnt websites on same webserver under root directory. lot of code same across 3 websites.

i wanted see if there way move code 3 websites 1 level (outside website itself) root directory (where folders each website contained.

ex. root directory c:\ (where want move files , access each indivual website. websites contained in c:\website1, c:\website2, etc.

so possible move code c:\website1 c:\ , access c:\ in c:\website1 website?

if need more details or not clear allow me know.

thank you.

i recommend putting library dll in gac.

consider this: if need update library dll back upwards new features 1 site, introduces incompatibilities other sites? gac supports multiple versions of same assembly, can update web sites separately, if desired.

c# asp.net iis website

No comments:

Post a Comment