We have created a demo web API project PacktContacts, tested it, and then run it in a local development environment. For production, the application should be published.
.NET Core or ASP.NET Core projects (either MVC or Web API) can be published using either CLI or Visual Studio tooling. We will learn both the ways to publish it.