Skip to main content

Posts

Showing posts from 2017

Deploying a self contained .Net core application on Linux and run as a daemon process

CodeProject Recently I got a chance to play little bit with .NET core on Linux where I developed an application in .Net core which I deployed on an Ubuntu 16.04 machine and configured to run it as a daemon process. In this process I learnt quite a few things which might be helpful for beginners in .NET core or for the folks who would like to play around with .NET core. Choosing the deployment model: Two types of deployments can be created for .NET core applications: Framework-dependent deployment: As the name implies, framework-dependent deployment (FDD) relies on a shared system-wide version of .NET Core to be present on the target machine. Because, .NET Core is already present, it can be shared by multiple applications hosted on the target machine. Self-contained deployment: Unlike FDD, a self-contained deployment does not rely on any shared components to be present on the target machine. All components, including both .NET Core libraries and the .NET Core runtime are includ