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.
 
 
 
 

27 lines
714 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Microsoft.AspNetCore.Hosting;
  6. using Microsoft.Extensions.Configuration;
  7. using Microsoft.Extensions.Hosting;
  8. using Microsoft.Extensions.Logging;
  9. namespace MQTTnet.Test.BlazorApp.Server
  10. {
  11. public class Program
  12. {
  13. public static void Main(string[] args)
  14. {
  15. CreateHostBuilder(args).Build().Run();
  16. }
  17. public static IHostBuilder CreateHostBuilder(string[] args) =>
  18. Host.CreateDefaultBuilder(args)
  19. .ConfigureWebHostDefaults(webBuilder =>
  20. {
  21. webBuilder.UseStartup<Startup>();
  22. });
  23. }
  24. }