aspnetcore/samples/RoutingSample/Program.cs

24 lines
615 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#if NET45
using System;
using Microsoft.Owin.Hosting;
namespace RoutingSample
{
public class Program
{
public static void Main(string[] args)
{
string url = "http://localhost:30000/";
using (WebApp.Start<Startup>(url))
{
Console.WriteLine("Listening on {0}", url);
Console.WriteLine("Press ENTER to quit");
Console.ReadLine();
}
}
}
}
#endif