AspNetCore.Docs/aspnetcore/signalr/authn-and-authz/sample/Program.cs

18 lines
430 B
C#

using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace SignalRAuthenticationSample
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
}
}