CHAPTER 15

Deploying an ASP.NET Core Application

Sometimes it’s a little better to travel than to arrive.

—Robert Pirsig, “Zen and the Art of Motorcycle Maintenance”

Writing an ASP.NET Core application requires the creation and editing of a variety of files, not all of which are really necessary to put the application live on a production or staging server. Hence, the very first step on the way to deploying an ASP.NET Core application is publishing it to a local folder so that all necessary files are compiled, and only those files that need be moved to the live environment are isolated somewhere. The list of deployable files usually includes code files compiled to DLLs plus static and configuration files.

Classic ASP.NET applications could only ...

Get Programming ASP.NET Core, First edition 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.