25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
481 B

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