liveBook · Manning

.NET

As explained in Building Web APIs with ASP.NET Core

.NET is Microsoft's cross-platform software development platform for building and running applications and services.

.NET is a Microsoft software development platform for building and running applications and services. For web APIs, ASP.NET Core provides a high-performance, cross-platform, open-source framework with architecture, request/response pipelines, asynchronous programming, and routing. section 1.2

A practical web API setup uses these pieces:

  • Install the .NET SDK, .NET runtime, and ASP.NET Core runtime, unless the development environment installs them automatically. section 2.6
  • Use Visual Studio 2022 to create an ASP.NET Core web API project from its template. section 2.3
  • Select .NET 6.0 for the project, while allowing for source changes when using another framework version. section 1.2 section 2.3
  • Let the template provide startup, settings, configuration, model, and controller files as an initial application structure. section 2.6

Create and verify a web API

Create a project named MyBGList from the ASP.NET Core web API template, accept the default settings, and run it with F5. Visual Studio opens a browser at a local HTTPS address and displays the generated start page mentioning Swagger. The template can then be adapted by replacing the weather-forecast sample with board-game classes. section 2.3 section 2.6

Figure 2.2 Finding the ASP.NET Core web API project template in Visual Studio
02-02

Use the project-template view to identify the ASP.NET Core web API template before configuring the application. section 2.3

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Explains framework characteristics, installation, templating, generated files, and verification, while deferring detailed implementation.
Examples
Uses a MyBGList project, generated WeatherForecast files, Visual Studio templates, and a local HTTPS first run.
What it assumes
Assumes basic development-environment use while introducing required SDKs, runtimes, IDE tooling, and generated project structure.
What you can do after
Builds and verifies an ASP.NET Core web API project using the .NET SDK, Visual Studio, and a project template.
How it connects
Connects .NET with ASP.NET Core, Visual Studio, web API templates, Swagger, runtimes, routing, and asynchronous programming.

Also explained in

Compare how 5 books explain .NET →

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.