* Incremental work on signaling * Incremental work on signal middleware * Getting somewhere! * Refactored middelware * Added BadRequestResult and NotFoundResult
19 lines
516 B
C#
19 lines
516 B
C#
using Microsoft.AspNetCore;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Sample06
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
CreateWebHostBuilder(args).Build().Run();
|
|
}
|
|
|
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
|
WebHost.CreateDefaultBuilder(args)
|
|
.ConfigureLogging(logging => logging.AddConsole())
|
|
.UseStartup<Startup>();
|
|
}
|
|
} |