Adding a free SSL certificate to a website hosted on nginx using Let's Encrypt

In the previous post, I showed how to publish an ASP.NET Core website to Linux. In this post, I'll show you how to secure your website using a free SSL certificate provided by Let's Encrypt. Get a free SSL certificate using Let's encrypt certbot is the tool provided by let's encrypt to generate a certificate. First, you need to install it: sudo add-apt-repository ppa:certbot/certbot sudo apt-get update… [read more]

Publishing an ASP.NET Core website to a Linux host

I recently move my web site to a Linux host, remember, .NET Core is multi-platform 😃 This choice is mainly motivated by the price. Indeed, you can find many cheap VPS providers (Virtual Private Server) on the internet. For instance, you can choose OVH. They have great VPS for about 3€ per month (I'm not paid by them, but I've been using their services for a few years without any issue). Hosting a site on… [read more]

Using Application Insights to keep a site online

By default, web apps are unloaded if they are idle for some period of time. This lets the system conserve resources. If you have access to the IIS configuration, you can configure the idle time-out settings to 0 (details). If you are hosting your web app on Azure, you can enable the Always on option (details). But, if you cannot remove the idle time-out, here's a nice tip to keep your web site online. The… [read more]