diff --git a/dependencies.props b/dependencies.props index 8cf27b0..ec53fe9 100644 --- a/dependencies.props +++ b/dependencies.props @@ -12,6 +12,6 @@ 3.1.3 1.0.0 1.0.0 - 1.0.0 + 1.0.6 \ No newline at end of file diff --git a/src/api/NetworkResurrector.Api/Startup.cs b/src/api/NetworkResurrector.Api/Startup.cs index a707b4f..afee68b 100644 --- a/src/api/NetworkResurrector.Api/Startup.cs +++ b/src/api/NetworkResurrector.Api/Startup.cs @@ -31,7 +31,7 @@ namespace NetworkResurrector.Api .AddNewtonsoftJson(o => o.SerializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Utc); // Add basic authentication - services.AddBasicAuthentication(_configuration.GetSection("IdentityServer")["BaseAddress"]); + services.AddIdentityAuthentication(_configuration.GetSection("IdentityServer")["BaseAddress"]); // MediatR services.AddMediatR(GetMediatRAssemblies()); diff --git a/src/server/NetworkResurrector.Server/Properties/PublishProfiles/FolderProfile.pubxml b/src/server/NetworkResurrector.Server/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..7512149 --- /dev/null +++ b/src/server/NetworkResurrector.Server/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,21 @@ + + + + + False + False + True + Release + Any CPU + FileSystem + bin\Release\netcoreapp3.1\publish\ + FileSystem + + netcoreapp3.1 + win-x64 + f6600491-5d79-4548-8745-59d9d337d3db + true + + \ No newline at end of file diff --git a/src/server/NetworkResurrector.Server/Startup.cs b/src/server/NetworkResurrector.Server/Startup.cs index eaf71f6..f8eb0fe 100644 --- a/src/server/NetworkResurrector.Server/Startup.cs +++ b/src/server/NetworkResurrector.Server/Startup.cs @@ -31,7 +31,7 @@ namespace NetworkResurrector.Server .AddNewtonsoftJson(o => o.SerializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Utc); // Add basic authentication - services.AddBasicAuthentication(_configuration.GetSection("IdentityServer")["BaseAddress"]); + services.AddIdentityAuthentication(_configuration.GetSection("IdentityServer")["BaseAddress"]); // MediatR services.AddMediatR(GetMediatRAssemblies());