Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  2. WebHost
  3. .CreateDefaultBuilder(args)
  4. .ConfigureAppConfiguration((context, config) =>
  5. {
  6. var settings = config.Build();
  7.  
  8. // Connect to Azure App Configuration using the Connection String.
  9. config.AddAzureAppConfiguration(settings["ConnectionStrings:AppConfiguration"]);
  10. })
  11. .UseStartup<Startup>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement