2019-09-18 20:14:52 +00:00
|
|
|
|
using Elsa.TypeConverters;
|
|
|
|
|
|
using Microsoft.AspNetCore;
|
2019-07-06 18:36:10 +00:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sample07
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Program
|
|
|
|
|
|
{
|
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
|
{
|
2019-09-18 20:14:52 +00:00
|
|
|
|
ProgramExtensions.ConfigureTypeConverters();
|
2019-07-06 18:36:10 +00:00
|
|
|
|
CreateWebHostBuilder(args).Build().Run();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
|
|
|
|
|
WebHost.CreateDefaultBuilder(args)
|
|
|
|
|
|
.UseStartup<Startup>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|