Skip to main content

Sample Web.config / App.config file

Just a note to self and others who might be looking for a quick sample of web.config file


<?xml version="1.0" encoding="utf-8" ?>

Save the above code as file name "web.config" in your project folder.

If you have IIS installed, follow the steps to add project to default website.
  1. Select Default Web Site: 
  2. Select "Content View" tab
  3. Right click to select "App Application"
  4. Enter Alias: <project_name>
  5. Enter Physical Path: <project_path>
  6. Enter in browser address bar: http://localhost/<project_name>
Hope this can be helpful to you.