您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

20 行
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. }