asp.net application install folder

Posted by Maximilian Csuk on Stack Overflow See other posts from Stack Overflow or by Maximilian Csuk
Published on 2010-03-17T22:27:50Z Indexed on 2010/03/17 22:31 UTC
Read the original article Hit count: 285

Filed under:
|
|
|

Disclaimer: this is not a question about how to install asp.net or an application using it!

Hi!

I am pretty sure many of you have once installed some kind of forum, blog or CMS (mostly PHP powered applications). All of these contain a folder mostly named "install" where (after you copied the files to the webserver) point your browser to to complete the installation by entering for example database information (servername, username, password, ...). After that, most applications suggest that you delete this folder or at least change the permissions so nobody from the outside can access it anymore.

Now to my question: how would you go about that in the asp.net world? I don't really like the "install folder"-approach and I thought there might be a different mechanism for .net/IIS. The person installing my application should be able to enter his database information as painless as possible, which should ultimatively be stored in the web.config file.

If it makes a difference, I am using asp.net MVC.

Thanks for your help!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about .NET