dynamic asp.net site creation
Posted on 2014-02-26
I am looking at implementing a subscription site, whereby the user will sign up and the site will automatically create a database driven site in IIS under a subdomain.
After they sign up a database will be copied from a parent blank db (or from as script?) and the site will be created from a parent blank site.
The folder structure would be as follows;
- <Top Level Site>
- <User Site 1>
- <User Site 2> etc
Now there may be some bespoke configuations made to each site, hence why the parent blank site would be copied. This doesnt help however when the parent site is updated as the changes would not iterate down.
Is it possible (as joomla does), to operate an override situation?. I.e. if the file doesnt existing in the user directory it falls back to the Parent directory?
Any input on this would be grateful.