First of all, we need to add a reference to the Microsoft.AspNetCore.Server.Kestrel
web server, version 1.1.0
.
Then, we just create a very basic .NET Core application that creates a web host and runs it, with a very basic response to every request.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;