ASP.NET Web Forms > Introduction

Create New website in ASP.NET Web Forms

How to create a new website


To create a new website in Visual Studio, go to File > New Web Site … and select “ASP.NET Web Site” from the Template box. Provide the path and name of the website you want to create and click OK. You have option to create this website either on FTP or HTTP (provided you have proper permission to do that). 

Clicking OK button should create a website with some pre-defined files & folders as displayed in the picture below. 

You can click on Start Debugging (Green Play Button or Debug > Start Debugging) and you should see a dialogue box something like below

This asks whether to modify the web.config file (we will know about it later on) to enable debugging. Click OK. You should see the result in your browser something like below picture. 

These are some default pages that are by default added when you create a website. You are not bound to keep these pages in your website. You can completely delete all the files and add new file by right clicking the Project from Solution Explorer and clicking on Add New Item

 Views: 3102 | Post Order: 5



Write for us






Hosting Recommendations