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

23 行
520 B

  1. using System.IO;
  2. using Microsoft.AspNetCore;
  3. using Microsoft.AspNetCore.Builder;
  4. using Microsoft.AspNetCore.Hosting;
  5. using Microsoft.Extensions.Configuration;
  6. namespace Sample.Kafka.SqlServer
  7. {
  8. public class Program
  9. {
  10. public static void Main(string[] args)
  11. {
  12. BuildWebHost(args).Run();
  13. }
  14. public static IWebHost BuildWebHost(string[] args) =>
  15. WebHost.CreateDefaultBuilder(args)
  16. .UseStartup<Startup>()
  17. .Build();
  18. }
  19. }