last ...
This commit is contained in:
+15
-11
@@ -1,20 +1,20 @@
|
||||
using System;
|
||||
using xIds.DI;
|
||||
using System.IO;
|
||||
using xIds.Constants;
|
||||
using xIds.Providers;
|
||||
using Newtonsoft.Json;
|
||||
using xIds.Interfaces;
|
||||
using System.Reflection;
|
||||
using xStorageService.DI;
|
||||
using xCommons.Extensions;
|
||||
using xCommons.Configurations;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using xCommons.Configurations;
|
||||
using xCommons.Extensions;
|
||||
using xStorageService.DI;
|
||||
using xIds.Constants;
|
||||
using xIds.DI;
|
||||
using xIds.Interfaces;
|
||||
using xIds.Providers;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace xIds
|
||||
{
|
||||
@@ -57,6 +57,10 @@ namespace xIds
|
||||
// services.AddInMemoryXIdentityServer (Configuration);
|
||||
services.AddEfSupportXIdentityServer(Configuration);
|
||||
|
||||
//
|
||||
// Services Application and Api Key Management Services ...
|
||||
services.AddXApplicationProvider(Configuration);
|
||||
|
||||
//
|
||||
services.AddControllers()
|
||||
.AddNewtonsoftJson(x => x.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore);
|
||||
@@ -71,7 +75,7 @@ namespace xIds
|
||||
|
||||
//
|
||||
// Register Security Provider ...
|
||||
services.AddSingleton<IXSecurityProvider, XSecurityProvider>();
|
||||
services.AddSingleton<IXSecurityProvider, XSecurityProvider>();
|
||||
}
|
||||
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILogger<Startup> logger)
|
||||
|
||||
Reference in New Issue
Block a user