Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. using System;
  2. using Microsoft.Extensions.Hosting;
  3.  
  4. namespace WebJobsSDKSample
  5. {
  6. class Program
  7. {
  8. static void Main(string[] args)
  9. {
  10. var builder = new HostBuilder();
  11. builder.ConfigureWebJobs(b =>
  12. {
  13. b.AddAzureStorageCoreServices();
  14. });
  15. var host = builder.Build();
  16. using (host)
  17. {
  18. host.Run();
  19. }
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement