Guest User

Untitled

a guest
May 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public static void Main(string[] args)
  2. {
  3. BuildWebHost(args).Run();
  4. }
  5.  
  6. public static IWebHost BuildWebHost(string[] args) =>
  7. WebHost.CreateDefaultBuilder(args)
  8. .UseStartup<Startup>()
  9. .Build();
  10.  
  11. public static void Main(string[] args)
  12. {
  13. CreateWebHostBuilder(args).Build().Run();
  14. }
  15.  
  16. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  17. WebHost.CreateDefaultBuilder(args)
  18. .UseStartup<Startup>();
Add Comment
Please, Sign In to add comment