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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Threading.Tasks;
|
---|
5 | using FarmatikoServices.Services;
|
---|
6 | using Microsoft.AspNetCore.Hosting;
|
---|
7 | using Microsoft.Extensions.Configuration;
|
---|
8 | using Microsoft.Extensions.DependencyInjection;
|
---|
9 | using Microsoft.Extensions.Hosting;
|
---|
10 | using Microsoft.Extensions.Logging;
|
---|
11 |
|
---|
12 | namespace 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.