2017-04-28 00:20:06 -05:00
|
|
|
using System.IO;
|
2016-12-08 19:23:52 -06:00
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
2017-04-28 00:20:06 -05:00
|
|
|
namespace Hangfire.Raven.Samples.AspNetCore
|
2016-12-08 19:23:52 -06:00
|
|
|
{
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
var host = new WebHostBuilder()
|
|
|
|
|
.UseKestrel()
|
|
|
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
|
|
|
.UseIISIntegration()
|
|
|
|
|
.UseStartup<Startup>()
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
host.Run();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|