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.

Program.cs 520 B

7 years ago
1234567891011121314151617181920212223
  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. }