I am developing a site in asp.net MVC, From which a admin can create a sub domain of that site with different css and images but same DataBase.
For eg: Suppose I have developed a site www.xyz.com, and admin of xyz.com want to create a sub domain like http://sub.xyz.com/ So when admin put a name of sub domain, Then application create a new folder and all the code of main site copy to that folder.
So, Because asp.net is not a open source code then could any one tell me the answer of some points.
- How to manage assembly reference between main site and sub domain.
- How to register sub domain during run time.
- Procedure of change css and images after publish a project.