NET Core framework provides one very useful feature - Self-contained application. You don’t need to install any .net runtime on your computer, you can just copy your application to the target host and run it. Furthermore, you can run it on any platform (Windows, Linux, OSX)!

When you create a self-contained application, after publishing, you will see the whole .net runtime next to your application.

There are some advantages:

You do not need to have installed .NET Core on a target machine
You can run applications with different .NET Core versions at the same time
But also, disadvantages:

Bigger application size (for empty web API project around 50 MB)
Limited target runtimes list (see list here)
Let’s create simple web API application and deploy it to the clean Ubuntu 14.04 machine!

#linux #.net #dev #.net core

Deploy and run .NET Core application without installed runtime. Self
34.70 GEEK