Posted on: 4/21/2014 2:13:22 AM | Views : 452

This is my first post, so please don't beat me up too bad. 
We have a website that uses a single code base and is bound to multiple domains. The Global.asax Start_Session event determines some particulars about how to configure the site (i.e., branding, database connections, etc.) based on the sub-domain of the host. For example, mysite.webaddress.com and yoursite.webaddress.com point to the same physical code base (inetpub/wwwroot/website). "mysite" uses a different logo and database than "yoursite", and the rest of the application feeds off of settings determined at startup. So far, this is working well for us.
We have a couple pieces of code that perform essentially the same function, but with slightly different properties and method calls. These pieces of code mak ...

Go to the complete details ...