How it works...

The .NET Core CLI has all the required commands to build and deploy our project.

Debug and Release modes are the same in terms of executing the application, but they are very different in terms of performance and optimization.

The bundle size is very different in Framework Dependent Deployment and Self-Contained Deployment. This is because Framework Dependent Deployment deploys only the application DLLs, and not the .NET Core related DLLs, which should be deployed if you use a Self-Contained Deployment model.

The Self-Contained Deployment model can free us to pre-install the required .NET Core version on the computer.

Get ASP.NET Core MVC 2.0 Cookbook 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.