1 Getting started with ASP.NET Core


This chapter covers

  • What is ASP.NET Core?
  • Things you can build with ASP.NET Core
  • How ASP.NET Core works

Choosing to learn and develop with a new framework is a big investment, so it’s important to establish early on whether it’s right for you. In this chapter, I provide some background on ASP.NET Core: what it is, how it works, and why you should consider it for building your web applications.

By the end of this chapter, you should have a good overview of the benefits of ASP.NET Core, the role of .NET 7, and the basic mechanics of how ASP.NET Core works. So without further ado, let’s dive in!

1.1 What is ASP.NET Core?

ASP.NET Core is a cross-platform, open-source application framework that you can use to build dynamic web applications quickly. You can use ASP.NET Core to build server-rendered web applications, backend server applications, HTTP APIs that can be consumed by mobile applications, and much more. ASP.NET Core runs on .NET 7, which is the latest version of .NET Core—a high-performance, cross-platform, open-source runtime.

1.2 What types of applications can you build?

1.3 Choosing ASP.NET Core

1.4 How does ASP.NET Core work?

1.4.1 How does an HTTP web request work?

1.4.2 How does ASP.NET Core process a request?

1.5 What you’ll learn in this book