Initial_commit_SecMPS_v2
This commit is contained in:
14
gateway/src/IntegrationGateway.Host/Program.cs
Normal file
14
gateway/src/IntegrationGateway.Host/Program.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using IntegrationGateway.Core.Infrastructure;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddMemoryCache();
|
||||
builder.Services.AddSingleton<AdapterRegistry>();
|
||||
builder.Services.AddSingleton<TokenManager>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user