Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. using Microsoft.AspNetCore;
  2. using Microsoft.AspNetCore.Hosting;
  3. using Microsoft.Extensions.Configuration;
  4.  
  5. namespace AspNetCore.Aws.Demo
  6. {
  7. public class Program
  8. {
  9. public static void Main(string[] args)
  10. {
  11. CreateWebHostBuilder(args).Build().Run();
  12. }
  13.  
  14. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  15. WebHost.CreateDefaultBuilder(args)
  16. .ConfigureAppConfiguration(config =>
  17. {
  18. config.AddJsonFile("appsettings.json");
  19. config.AddEnvironmentVariables();
  20. })
  21. .UseStartup<Startup>();
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement