Visual Studio is a full-featured integrated development environment (IDE) for Android, iOS, Windows, web, and cloud.
It has three editions:
Community:
Powerful IDE, free for students, open-source contributors, and individuals,
Professional:
Professional IDE best suited to small teams, and
Enterprise:
Scalable, end-to-end solution for teams of any size.
Visual Studio Community, a revamped edition of Visual Studio Professional, is free for individual.
VS Community is not a trial version, nor an Express-style narrowly limited product.
It is the same as Visual Studio Professional, except that it does not include the CodeLens feature, and it is activated through a Microsoft account instead of a product key.
Start the Visual Studio Community 2026.
Select the following Windows options:
Start 🡆 All Programs 🡆 Visual Studio 2026
If you want to open an existing project, pick the project with the (solution) file extension where
Solution ( or ): The top-level container or “binder” that groups together multiple distinct programming tasks, libraries, or applications that belong to the same overarching work or product.
Project (, , etc.):
A sub-container inside a solution that holds specific code files, references, and compilation instructions needed to build a single discrete item like an executable app () or a library ().
Code Files (, , ):
The raw text files containing your actual programming logic.
Otherwise, go to the next step.
Create a New Web Application.
Follow the next steps:
Pick the option :
Select the template :
Configure the application by entering the following information:
Project name such as ,
Location such as , and
Checking .
Visual Studio IDE (integrated development environment) will be displayed as follows:
Create a Web Page.
This web application is to submit person information including (i) person ID, (ii) name, (iii) gender, and (iv) city.
Use the Model-View-Controller (MVC) framework to create the page:
View handles the user interface.
It displays data from the model and sends user input back to the controller.
using WebSite1.Models;
using Microsoft.AspNetCore.Mvc;
// using System.Web.Mvc;
namespace WebSite1.Controllers {
public class HomeController : Controller {
// GET: Home
public ActionResult Index( ) {
return View( );
}
[HttpPost]
public ActionResult Index( PersonModel person ) {
int personId = person.PersonId;
string name = person.Name;
string gender = person.Gender;
string city = person.City;
return View( );
}
}
}
Build and Debug the Web Application.
Build the website by selecting the following options:
Build 🡆 Build Solution
Unless there are a web server and an IP address on your machine, the web pages can only be accessed by a browser on the local machine.
You can see this by noticing the URL is, for example,
https://localhost:7243
If the build is successful, debug the website by right clicking the end of each of the 5 commands:
Breakpoint 🡆 Insert Breakpoint
Debug 🡆 Start Debugging
One example of execution results is shown as follows:
🡇
Since no database is used, the submitted data is not be saved.
Instead, we use debugger’s breakpoints to check the submitted values.
The is shown by picking the following options:
Debug 🡆 Windows 🡆 Watch 🡆 Watch 1
refers to the first of four independent Watch windows used during a live debugging session to monitor specific variables, objects, and custom code expressions.
When you run your ASP.NET application in debug mode and hit a breakpoint, you can use to keep a continuous eye on data as you step through your code line by line.
“I asked my brother-in-law, the father of four boys,
‘If you had it to do all over again, would you still have kids?’
‘Yes,’ he said. ‘Just not these four.’”
— Sheila Lee