i

ASP.Net A Complete Guide

Using Visual Web Developer

Microsoft Visual Web Developer:

Using the MS Visual Web Developer, we can create web sites, web applications, and web services using ASP.NET and using C# or VB.net languages. It can use the Visual Studio Web Designer to design web page layouts.

We can see how we can create the Web application/web form project using the Visual Web Developer:

I am using Visual Studio 2017 to explain systematically.

When you open the visual studio, it will look like below:

 

On the top left corner, you can see the file menu. From there, you can select a new -> project.

 

After clicking the project, it will open the below window:

 

When we click on the button, it will display the below window:

 

From the window, select the Webform template and just clock on the ok button. Creating a project will take a few seconds.

It will show the project like below:

 

From the “Solution Explorer” select the “Default.aspx” page. It will look like below.

 

You can see the red outlined part, which shows the important options. One is Design, and the other one is the Source.

Design: It displays master pages, content pages, ASP.NET Web pages, HTML pages, and user controls.

Source: It displays the HTML markup of our web page.

Solution Explorer:

 

The above image shows that you can see the solution explorer; that lets us manage the project files. There are free files .net adds as a template to use.

Below are the default files created by Visual Studio:

File

Description

Default.aspx

The default page will display when the application run.

Web.config

In this file, we can write the application-level configuration.

Global.asax

By using this file, we can manage the application and session-level events.

Site.Master

By using the s, we can create common UI for consistency of application.

 

Output Of Default Web Application

When we create the web application, .Net provides the default application, which contains a few default file with the configuration file. We can run the application directly without making any changes. It will show the application with the rich UI.

To run the application, use f5, and you will see the below output.