Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 665833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:45:07+00:00 2026-05-13T23:45:07+00:00

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

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:45:07+00:00Added an answer on May 13, 2026 at 11:45 pm

    We use an installer program (NSIS) to collect custom values. After the files have been copied to the deployment folder, we run some IIS scripts to create the directories, setup host headers, ports etc, and then we write the web.config using variable substituion with the details the customer supplied in the installer.

    Is also creates the databsae and setups up the initial user details based on customer input to the installer.

    EDIT:

    Check out

    http://bloggingabout.net/blogs/dennis/archive/2008/05/16/programmatically-creating-an-iis7-site.aspx

    For an exmaple on how to create an IIS site with C#.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Disclaimer: This is not actually a programming question, but I feel the audience on
Disclaimer This is not strictly a programming question, but most programmers soon or later
Disclaimer: This is for a homework assignment, but the question is not regarding the
Full disclaimer: I'm a CS student, and this question is related to a recently
This is a more a philosophical question about Apple's design decisions than a question
Disclaimer: I'm not a Notes admin, I just wrote the application :), and I
First, it seems this question is not program related, however I still make up
Disclaimer Yes, I am fully aware that what I am asking about is totally
DISCLAIMER: The following code is not something I would ever use in a real
I've built an iPhone application using the parsing code from the TopSongs sample iPhone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.