MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to add a web.config file to windows hosting?  (Read 3671 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
How to add a web.config file to windows hosting?
« on: February 06, 2015, 02:00:24 PM »
Hello Guys,

Web.config is the main settings and configuration file for an ASP.NET web application. Using web.config file you can customize the behavior of your site.

Using a web.config file, you can control:
  • Database connection strings.
  • Error behavior.
  • Security.

Create a notepad file (txt file) and add your web configuration.

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

<configuration>

<system.web>

</system.web>

</configuration>

Save the txt file with name Web.config.txt.

Upload the file to the root directory, it may be httpdocs .

Rename Web.config.txt file to Web.config by removing the .txt extension.

That's all, Enjoy  :)!!
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

How to add a web.config file to windows hosting?
« on: February 06, 2015, 02:00:24 PM »