1). First you have download the latest version of visual studio then open it by clicking on “Run as administrator”.
2). When it will open we have to select New-File-Project.
3). Once you will click on the project option it will appear a panel with the option to select which type of project you want to create and we will select “Asp.NET Web Application(.net framework)C#” and then select next.
4). After clicking on next it will give you an option to change project name and location to save the project folders, and update the project name according to your project and click the Create button to create the project.
5). The next step will be the final step to create the project where you have to select Empty from the list, Webform from the right-side options, and also deselect the “Configure for https” and create it.
6).Your project is ready now, you have create the pages in it.
7).To add the pages in it you have to right-click on your project name and select ADD –New Item.
8). After clicking on New item it will give you many options to select where you will select Webform and Visual C# in left options from two out of these Visual C# and Visual vb and also change the name of your page the click on Add.
9).When you will click on Add your page will be ready to create the Web application and it will also create a “.cs” page in itself.
10). Now you can apply the code on your page as you can see on my image in the selected area.
11). After applying the code you have to stop debugging, clicking on the Red Square button on the top menu.
12).when debugging will stop there an option will appears on top menu “IIS Express(Google Chrome)” just click on it to run you page.
13).Now your page is ready with it’s view on your browser.
Thanks to read my blog.