liveBook · Manning

Visual Studio

As explained in Building Web APIs with ASP.NET Core

Visual Studio is Microsoft's integrated development environment for building software, including .NET applications, with editors, compilers, debugging tools, and project-management features.

Visual Studio is a comprehensive integrated development environment for .NET development on Windows and macOS. It combines code completion, compilers, graphical designers, debugging support, project management, package managers, task runners, integrated source control, and syntax highlighting. These features help development teams improve productivity and standardize parts of their workflow. section 2.1.2 section 2.6

A practical ASP.NET Core setup follows these steps:

  • Install Visual Studio Installer, then select the ASP.NET and web development workload; choose language packs as needed. section 2.2
  • Launch Visual Studio, choose Create a New Project, and search for the ASP.NET Core web API template. section 2.3
  • Name the project, select .NET 6.0 when following the demonstrated setup, and accept the remaining defaults. section 2.3
  • Press F5 or select Run to start Debug mode and verify that the default browser opens the local API. section 2.3

Starting the MyBGList API

Creating the MyBGList project from the ASP.NET Core web API template generates a solution and source files, including Program.cs, launchSettings.json, appsettings.json, WeatherForecast.cs, and WeatherForecastController.cs. The generated application can be run locally before replacing the weather-forecast sample with board-game-related classes. section 2.3 section 2.6

Figure 2.1 Adding the ASP.NET and web development workload to the Visual Studio installation
02-01

Use the installation figure to identify the ASP.NET and web development workload required for the web API setup. section 2.2

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Walks through installation, template configuration, first-run verification, and generated files without detailing advanced architectural tools.
Examples
Uses Visual Studio 2022, the ASP.NET Core web API template, the MyBGList project, generated WeatherForecast files, and a local browser launch.
What it assumes
Assumes the .NET SDK and runtimes are available or installed through the IDE, while teaching workload selection and project creation.
What you can do after
Build an ASP.NET Core web API project, configure its template, launch it in Debug mode, and inspect its generated files.
How it connects
Connects integrated development environments with .NET, ASP.NET Core, C#, debugging, source control, package management, and web API templates.

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 Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.