Code for hosting and starting up an ASP.NET application.