Update to latest code and nugets packages
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using GerstITS.Authentication.OpenId;
|
||||
using GerstITS.Authentication.ApiKey;
|
||||
using GerstITS.Authentication.OpenId;
|
||||
using GerstITS.Data.EntityFramework;
|
||||
using GerstITS.System.Configurations;
|
||||
using GerstITS.Web.Api.Builder;
|
||||
@@ -11,6 +12,7 @@ internal sealed class WebApiConfiguration : GerstITS.System.Configurations.IConf
|
||||
#region Properties
|
||||
|
||||
public IServerConfiguration Server { get; }
|
||||
public IApiKeyConfiguration ApiKey { get; }
|
||||
public IOpenIdConfiguration OpenId { get; }
|
||||
public ISwaggerConfiguration Swagger { get; set; }
|
||||
public IEntityFrameworkMigrationConfiguration EntityFrameworkMigration { get; set; }
|
||||
@@ -24,7 +26,8 @@ internal sealed class WebApiConfiguration : GerstITS.System.Configurations.IConf
|
||||
var prefix = this.ToConfigurationPrefix();
|
||||
|
||||
EntityFrameworkMigration = new EntityFrameworkMigrationConfiguration(prefix, configuration);
|
||||
//OpenId = new OpenIdConfiguration(prefix, configuration);
|
||||
ApiKey = new ApiKeyConfiguration(prefix, configuration);
|
||||
OpenId = new OpenIdConfiguration(prefix, configuration);
|
||||
Server = new ServerConfiguration(prefix, configuration);
|
||||
Swagger = new SwaggerConfiguration(prefix, configuration);
|
||||
}
|
||||
|
||||
@@ -7,14 +7,14 @@ namespace GerstITS.Examples.Api.StartupTasks;
|
||||
|
||||
internal class ExampleStartupTask : IStartupTask
|
||||
{
|
||||
#region Fields#
|
||||
#region Fields
|
||||
|
||||
private readonly IExampleProvider _provider;
|
||||
private readonly IJsonConvert _jsonConvert;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Construtcors
|
||||
#region Constructors
|
||||
|
||||
public ExampleStartupTask(IExampleProvider provider,
|
||||
IJsonConvert jsonConvert)
|
||||
|
||||
Reference in New Issue
Block a user