liveBook · Manning

Visual Studio

As explained in Pro ASP.NET Core 7, Tenth Edition

Visual Studio is an integrated development environment for building software with Microsoft development technologies.

Visual Studio is the traditional integrated development environment for .NET applications, offering structured project support and a broad set of development tools. It is more capable than Visual Studio Code, but can be resource-hungry, slow, and occasionally over-helpful. section 2.1

For ASP.NET Core development, install and configure:

  • Visual Studio 2022, including the ASP.NET and web development workload. section 2.1.1
  • SQL Server Express 2019 LocalDB through the Individual components installer option. section 2.1.1
  • .NET SDK 7.0.0, verifying the installed SDKs with dotnet --list-sdks and ensuring a 7.0.1xx entry exists. section 2.1.1

Opening an ASP.NET Core project

Start Visual Studio, choose “Open a project or solution,” navigate to the project folder, select its .sln file, and click Open. The project then appears in Solution Explorer. section 2.2.1

Adding static content

Create a wwwroot folder with Add > New Folder, then use Add > New Item to select the HTML Page template and create demo.html. The template supplies the correct file extension. section 4.2

Figure 2.3 Selecting the workload

Shows the Visual Studio installer workload selection used to enable ASP.NET and web development. section 2.1.1

Figure 2.4 Ensuring LocalDB is installed

Shows the Individual components selection for installing SQL Server Express 2019 LocalDB. section 2.1.1

How Pro ASP.NET Core 7, Tenth Edition covers it

How deep it goes
Covers installation, workload selection, SDK verification, project opening, and item creation, but not application debugging or deployment.
Examples
Uses an ASP.NET Core solution, Solution Explorer, a wwwroot folder, an HTML page, and SDK listing commands.
What it assumes
Assumes Windows-oriented ASP.NET Core work and requires the .NET SDK and SQL Server LocalDB alongside the editor.
What you can do after
Operate/configure Visual Studio for ASP.NET Core 7 by installing workloads, verifying the SDK, opening solutions, and adding project files.
How it connects
Connects Visual Studio with ASP.NET Core, Visual Studio Code, the .NET SDK, SQL Server LocalDB, and Solution Explorer.

Also explained in

Compare how 4 books explain Visual Studio →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Pro ASP.NET Core 7, Tenth Edition. The section links point to the parts of the book it draws on.