Adds code
This commit is contained in:
commit
269bf50c78
33 changed files with 1489 additions and 0 deletions
14
Application/Program.cs
Normal file
14
Application/Program.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Autofac.Extensions.DependencyInjection;
|
||||
|
||||
var host = Host.CreateDefaultBuilder(args)
|
||||
.UseServiceProviderFactory(new AutofacServiceProviderFactory())
|
||||
.ConfigureWebHostDefaults(webHostBuilder =>
|
||||
{
|
||||
webHostBuilder
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseStartup<PlanTempus.Startup>();
|
||||
})
|
||||
.Build();
|
||||
|
||||
host.Run();
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue