chapter one

1 Getting started with ASP.NET Core

 

This chapter covers

  • What is ASP.NET Core?
  • Things you can build with ASP.NET Core
  • The advantages and limitations of .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 about ASP.NET Core, what it is, how it works, and why you should consider it for building your web applications.

If you’re new to .NET development, this chapter will help you to understand the .NET landscape. For existing .NET developers, I provide guidance on whether now is the right time to consider moving your focus to .NET Core, and the advantages ASP.NET Core can bring over previous versions of ASP.NET.

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

1.1   An introduction to ASP.NET Core

ASP.NET Core is the latest evolution of Microsoft’s popular ASP.NET web framework, released in June 2016. Previous versions of ASP.NET have seen many incremental updates, focusing on high developer productivity and prioritizing backwards compatibility. ASP.NET Core bucks that trend by making significant architectural changes that rethink the way the web framework is designed and built.

1.1.1   Using a web framework

1.1.2   The benefits and limitations of ASP.NET

1.1.3   What is ASP.NET Core?

1.2   When to choose ASP.NET Core

1.2.1   What type of applications can you build?

1.2.2   If you’re new to .NET development

1.2.3   If you’re a .NET Framework developer creating a new application

1.2.4   Converting an existing ASP.NET application to ASP.NET Core

1.3   How does ASP.NET Core work?

1.3.1   How does an HTTP web request work?

1.3.2   How does ASP.NET Core process a request?

1.4   What you will learn in this book

1.5   Summary