Print hello world for k10 project.

This commit is contained in:
David Fowler 2014-02-01 00:39:26 -08:00
parent 4c17c864f9
commit ebbb481fea
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#if NET45
using System;
using System;
#if NET45
using Microsoft.Owin.Hosting;
#endif
namespace MvcSample
{
@ -10,13 +11,16 @@ namespace MvcSample
public static void Main()
{
#if NET45
using (WebApp.Start<Startup>(new StartOptions(baseUrl)))
{
Console.WriteLine("Listening at {0}", baseUrl);
Console.WriteLine("Press any key to exit");
Console.ReadKey();
}
#else
Console.WriteLine("Hello World");
#endif
}
}
}
#endif