source: Farmatiko/Program.cs

Last change on this file was f554983, checked in by Dimitar Slezenkovski <dslezenkovski@…>, 4 years ago

Add cron job for updating data, with Quartz.NET

  • Property mode set to 100644
File size: 794 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Threading.Tasks;
5using FarmatikoServices.Services;
6using Microsoft.AspNetCore.Hosting;
7using Microsoft.Extensions.Configuration;
8using Microsoft.Extensions.DependencyInjection;
9using Microsoft.Extensions.Hosting;
10using Microsoft.Extensions.Logging;
11
12namespace Farmatiko
13{
14 public class Program
15 {
16 public static void Main(string[] args)
17 {
18 CreateHostBuilder(args).Build().Run();
19 }
20
21 public static IHostBuilder CreateHostBuilder(string[] args) =>
22 Host.CreateDefaultBuilder(args)
23 .ConfigureWebHostDefaults(webBuilder =>
24 {
25 webBuilder.UseStartup<Startup>();
26
27 });
28 }
29}
Note: See TracBrowser for help on using the repository browser.