liveBook · Manning

Chapter 1: Getting started with ASP.NET Core

What you will learn in chapter 1 of ASP.NET Core in Action, 3e

This chapter introduces what ASP.NET Core is, why it may suit web application development, the role of .NET 7, and its basic request-processing mechanics.

After this chapter you will be able to

Section by section

Introduction

This chapter introduces what ASP.NET Core is, why it may suit web application development, the role of .NET 7, and its basic request-processing mechanics.

Key terms: ASP.NET Core, .NET 7, web applications

1.1 What is ASP.NET Core?

Introduces ASP.NET Core as a cross-platform web application framework and positions it around an application's independent business logic.

Key terms: ASP.NET Core, .NET 7, cross-platform, open-source, application framework, dynamic web applications, server-rendered web applications, backend server applications, HTTP APIs, mobile applications

1.2 What types of applications can you build?

This section surveys the application paradigms ASP.NET Core supports and explains that they share foundations, can be combined, and must be chosen according to application needs.

Key terms: Minimal APIs, Web APIs, gRPC APIs, Razor Pages, MVC controllers, Blazor WebAssembly, building blocks, configuration, logging, paradigms

1.3 Choosing ASP.NET Core

This section explains why ASP.NET Core is the recommended choice for new .NET web development, emphasizing its modern cross-platform advantages and continuity with older ASP.NET experience.

Key terms: ASP.NET Core, .NET 7, .NET Framework, ASP.NET framework, bug and security fixes, feature updates, cross-platform, Windows, macOS, Linux

1.4 How does ASP.NET Core work?

Introduces the upcoming explanation of how a browser URL request becomes a displayed page, first through HTTP and then through ASP.NET Core's dynamic processing.

Key terms: HTTP request, web server, URL, dynamic web pages, ASP.NET Core, HTTP web request

1.4.1 How does an HTTP web request work?

This section traces how a browser uses HTTP to request a resource from a server and then fetches the additional files needed to render a web page.

Key terms: URL, hostname, path, Domain Name Service (DNS), IP address, HTTP request, Hypertext Transfer Protocol (HTTP), stateless, request-response protocol, client

1.4.2 How does ASP.NET Core process a request?

This section traces how an ASP.NET Core application receives an HTTP request through Kestrel, processes it using HttpContext, and returns an HTTP response.

Key terms: HTTP request, HTTP response, ASP.NET Core application, server-side, Kestrel, web server, HttpContext, raw request, raw HTTP response, response

1.5 What you’ll learn in this book

This section previews the book’s ASP.NET Core topics, examples, tooling expectations, and cross-platform learning environment.

Key terms: HTTP API, minimal APIs, Razor Pages, model binding, validation, routing, Razor syntax, Tag Helpers, dependency injection, Visual Studio

1.6 Summary

This summary recaps ASP.NET Core’s platform, application styles, recommendation for new development, and role in handling HTTP requests.

Where this is used later

Concepts explained in this chapter

Chapter 2: Understanding ASP.NET Core →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.