Basic functionality to host a web application into a console application.