There are lots of ways to deploy an ASP.NET Core MVC application. I don’t get into the options in this book, but there are some changes that are required regardless of how the application is hosted.
In this chapter, I show how to secure the web service against cross-site forgery attacks, using a feature that can be disruptive during development but that is essential for production applications. I also show you how to disable the developer-friendly features that have ensured that the database is kept up-to-date, that the TypeScript files are automatically compiled, and that changes ...