Publishing ASP.NET Core applications with “dotnet publish”
Posted: (EET/GMT+2)
ASP.NET Core is the exciting new cross-platform version of the traditional ASP.NET platform, but with modern thinking. ASP.NET Core is also different, and there are new tools and command-line commands to learn.
On such things is to learn how ASP.NET Core applications are published to production. In Core, there's a command-line command called "dotnet", that supports a parameter called "publish", that in turn allows you to publish your Core web applications.
That is, from the command line, you could run the command "dotnet publish". For more details, see the excellent documentation on the new docs.microsoft.com portal.