You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 regels
629 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using Microsoft.AspNetCore.Builder;
  7. using Microsoft.AspNetCore.Hosting;
  8. namespace Sample.Kafka
  9. {
  10. public class Program
  11. {
  12. public static void Main(string[] args)
  13. {
  14. var host = new WebHostBuilder()
  15. .UseKestrel()
  16. .UseContentRoot(Directory.GetCurrentDirectory())
  17. .UseIISIntegration()
  18. .UseStartup<Startup>()
  19. .UseApplicationInsights()
  20. .Build();
  21. host.Run();
  22. }
  23. }
  24. }