© Adam Freeman 2017
Adam FreemanEssential Angular for ASP.NET Core MVChttps://doi.org/10.1007/978-1-4842-2916-3_12

12. Preparing for Deployment

Adam Freeman
(1)
London, UK
 
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 ...

Get Essential Angular for ASP.NET Core MVC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.