Web API for the bulk printing desktop application.

Program.cs 535B

1234567891011121314151617181920212223
  1. using Microsoft.AspNetCore.Builder;
  2. using Microsoft.AspNetCore.Hosting;
  3. using System.IO;
  4. namespace BulkPrintingAPI
  5. {
  6. public class Program
  7. {
  8. public static void Main(string[] args)
  9. {
  10. var host = new WebHostBuilder()
  11. .UseKestrel()
  12. .UseContentRoot(Directory.GetCurrentDirectory())
  13. .UseIISIntegration()
  14. .UseStartup<Startup>()
  15. .UseApplicationInsights()
  16. .Build();
  17. host.Run();
  18. }
  19. }
  20. }