|
|
|
@ -6,6 +6,10 @@ using Microsoft.EntityFrameworkCore;
|
|
|
|
using Expedience.Infrastructure.Concurrency;
|
|
|
|
using Expedience.Infrastructure.Concurrency;
|
|
|
|
|
|
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
|
|
|
|
builder.WebHost.UseKestrel(options =>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
options.ListenAnyIP(80);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var connectionString = builder.Configuration.GetConnectionString("Expedience");
|
|
|
|
var connectionString = builder.Configuration.GetConnectionString("Expedience");
|
|
|
|
builder.Services.AddDbContext<ExpedienceContext>(options =>
|
|
|
|
builder.Services.AddDbContext<ExpedienceContext>(options =>
|
|
|
|
|