Chapter 16. Publishing and deploying your application
This chapter covers
- Publishing an ASP.NET Core application
- Hosting an ASP.NET Core application in IIS
- Customizing the URLs for an ASP.NET Core app
- Optimizing client-side assets with bundling and minification
We’ve covered a vast amount of ground so far in this book. We’ve gone over the basic mechanics of building an ASP.NET Core application, such as configuring dependency injection, loading app settings, and building a middleware pipeline. We’ve looked at the UI side, using Razor templates and layouts to build an HTML response. And we’ve looked at higher-level abstractions, such as EF Core and ASP.NET Core Identity, that let you interact with a database and add users to your application.
In this chapter, we’re taking a slightly different route. Instead of looking at ways to build bigger and better applications, we focus on what it means to deploy your application so that users can access it. You’ll learn about
- The process of publishing an ASP.NET Core application so that it can be deployed to a server.
- How to prepare a reverse proxy (IIS) to host your application.
- How to optimize your app so that it’s performant once deployed.