ASP.NET Core Fundamentals: Building Modern Web Applications with .NET 11

ASP.NET Core Fundamentals: Building Modern Web Applications with .NET 11

13+

Build the AdventureWorks web application with ASP.NET Core 11, Visual Studio, data access, authentication, tests, and diagnostics.

0 followers
29 chapters
Software & AI Development
2026
You're viewing a limited preview. Create a free account to read free books or get Premium to unlock the entire library.

About This Book

ASP.NET Core Fundamentals teaches ASP.NET Core 11 by building one app, the AdventureWorks outdoor-gear store, from the request pipeline to deployment.

Who this book is for

This book is for developers who know C# and want to build ASP.NET Core applications. You should be comfortable with classes, interfaces, records, attributes, asynchronous methods and collections, and with a terminal. You should also know what an HTTP method, path, header, status code and body are. Database experience helps from Chapter 8.

What you will build

Chapter 1 creates the AdventureWorks web project and its solution, and Chapter 2 adds AdventureWorks.Core and AdventureWorks.Infrastructure to it. Each later chapter starts where the last one ended and grows the same app: product APIs and pages, sign-in, an EF Core database, caching, tests, telemetry and a container image.

How to use this book

Your working folder holds global.json and AdventureWorks.slnx: C:\Projects\AdventureWorks in Chapter 1. Every command runs from it, and a command for one project names it, as in --project AdventureWorks.

Read the chapters in order. Each ends with a Mini Quiz, answered in the Answer Key, and an Activity. Do each Activity in a copy of your working folder; the next chapter continues in your main folder.

Every chapter adds one debugging skill on the code you just wrote. You start with a breakpoint and Locals, then use Watch, the Call Stack, DataTips and the Immediate Window. In Chapter 15's lab, you debug a failing test from Test Explorer, read the cause in Locals, fix it and run the tests green.

Tools and prerequisites

Install the .NET 11 SDK, 11.0.100 or later, from dotnet.microsoft.com/download/dotnet/11.0. It includes the ASP.NET Core 11 runtime, and Chapter 1 pins it with global.json. Each chapter gives exact package versions.

On Windows, the steps give Visual Studio 2026 with the ASP.NET and web development workload first. VS Code with the C# Dev Kit is a complete alternative: each step gives its route where it differs, and the REST Client extension sends requests.http files. Chapter 10's Activity uses SQL Server LocalDB, and Chapter 18 builds a container image with Docker. The test accounts are fictional; keep real credentials out of the project.

Companion code

Download it free at unqbd.com/go/asp2-code: clone the repository or download a ZIP, and work from its AdventureWorks folder. ChapterNN there is the app at the end of Chapter NN, and it builds and runs on its own; ChapterNN-Activity adds the worked Activity. To start a chapter fresh or recover from a broken build, copy the checkpoint its Prerequisites name. Each checkpoint's requests.http holds the chapter's requests and their expected statuses.

Reading the code listings

Code and command lines are 66 characters or fewer, to fit the printed code box; longer statements break at natural points. Each command in a code box is one line and runs as printed. A command too long for the box is printed inline, on one line, with "type it as one line"; do not break it. Each step names the file it changes and the line new code follows. Commands are for Windows PowerShell, with a note where bash differs.

Enjoying this book?

Create a free account to leave comments, track your progress, and more!

Read and listen on the go with the unQbd app. Get the app
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.