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

24 lines
565 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.RabbitMQ.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. .UseUrls("http://*:5800")
  17. .UseStartup<Startup>()
  18. .Build();
  19. }
  20. }