OK so I usually make websites in WebMatrix doing so they all share the same assemblies (dll) and I have like 3 sites so in my website root directory is the main site then 2 folders for the subdomain sites, the bin folder takes like 10MB (in total for 3 sites
its 30MB just the bin folder) can I just edit the webconfig some how and tell it to get the dlls from the root directory bin folder, like this it would be much sensible and save space..
I haven't made in-depth tests, so I can't ensure that it works, but maybe you could copy your dlls in one directory and share the directory between your three sites as virtual directories named \bin.
This
site explains how to create virtual directories in IIS Express (for Webmatrix look from step 6) and this
site
how to create virtual directories in IIS 7.
Make me know if it works.
Marked as answer by Dino He - MSFT on Aug 01, 2012 02:53 AM
CriticalErro...
Member
421 Points
390 Posts
WebMatrix set Assemblies in one location?
Jul 25, 2012 04:03 PM|LINK
Hi All,
OK so I usually make websites in WebMatrix doing so they all share the same assemblies (dll) and I have like 3 sites so in my website root directory is the main site then 2 folders for the subdomain sites, the bin folder takes like 10MB (in total for 3 sites its 30MB just the bin folder) can I just edit the webconfig some how and tell it to get the dlls from the root directory bin folder, like this it would be much sensible and save space..
My Site | My Blog
GmGregori
Contributor
5446 Points
735 Posts
Re: WebMatrix set Assemblies in one location?
Jul 26, 2012 05:39 PM|LINK
I haven't made in-depth tests, so I can't ensure that it works, but maybe you could copy your dlls in one directory and share the directory between your three sites as virtual directories named \bin.
This site explains how to create virtual directories in IIS Express (for Webmatrix look from step 6) and this site how to create virtual directories in IIS 7.
Make me know if it works.