From f00c0d62696c2b2cd520d799c32e767ddd95ece0 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Thu, 10 Feb 2022 16:12:46 +0200 Subject: [PATCH] Upgrade to .net5 --- Directory.Build.props | 2 +- IdentityServer.Api/Dockerfile | 4 ++-- IdentityServer.Api/IdentityServer.Api.csproj | 6 +++--- IdentityServer.Api/appsettings.json | 1 + .../IdentityServer.Application.csproj | 2 +- .../IdentityServer.Domain.Data.csproj | 2 +- IdentityServer.Domain/IdentityServer.Domain.csproj | 2 +- ReleaseNotes.xml | 7 +++++++ dependencies.props | 11 ++++++----- 9 files changed, 23 insertions(+), 14 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 79eeeb1..7eb4dc6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 1.0.1 + 1.1.0 Tudor Stanciu STA IdentityServer diff --git a/IdentityServer.Api/Dockerfile b/IdentityServer.Api/Dockerfile index 7e7cfa8..f88b15c 100644 --- a/IdentityServer.Api/Dockerfile +++ b/IdentityServer.Api/Dockerfile @@ -1,10 +1,10 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base WORKDIR /app EXPOSE 80 -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build WORKDIR /src COPY dependencies.props . COPY Directory.Build.props . diff --git a/IdentityServer.Api/IdentityServer.Api.csproj b/IdentityServer.Api/IdentityServer.Api.csproj index c0c58e8..cba7bb6 100644 --- a/IdentityServer.Api/IdentityServer.Api.csproj +++ b/IdentityServer.Api/IdentityServer.Api.csproj @@ -1,7 +1,7 @@ - + - netcoreapp3.1 + net5.0 Linux @@ -11,7 +11,7 @@ - + diff --git a/IdentityServer.Api/appsettings.json b/IdentityServer.Api/appsettings.json index 116b2e5..c2e70b2 100644 --- a/IdentityServer.Api/appsettings.json +++ b/IdentityServer.Api/appsettings.json @@ -1,6 +1,7 @@ { "urls": "http://*:5063", "ConnectionStrings": { + //"DatabaseConnection": "***REMOVED***" "DatabaseConnection": "***REMOVED***" }, "Logging": { diff --git a/IdentityServer.Application/IdentityServer.Application.csproj b/IdentityServer.Application/IdentityServer.Application.csproj index 7e87261..77faec9 100644 --- a/IdentityServer.Application/IdentityServer.Application.csproj +++ b/IdentityServer.Application/IdentityServer.Application.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + net5.0 diff --git a/IdentityServer.Domain.Data/IdentityServer.Domain.Data.csproj b/IdentityServer.Domain.Data/IdentityServer.Domain.Data.csproj index 9f87f66..8ebdccb 100644 --- a/IdentityServer.Domain.Data/IdentityServer.Domain.Data.csproj +++ b/IdentityServer.Domain.Data/IdentityServer.Domain.Data.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + net5.0 diff --git a/IdentityServer.Domain/IdentityServer.Domain.csproj b/IdentityServer.Domain/IdentityServer.Domain.csproj index 9f5c4f4..f208d30 100644 --- a/IdentityServer.Domain/IdentityServer.Domain.csproj +++ b/IdentityServer.Domain/IdentityServer.Domain.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + net5.0 diff --git a/ReleaseNotes.xml b/ReleaseNotes.xml index cc13cf4..cb50263 100644 --- a/ReleaseNotes.xml +++ b/ReleaseNotes.xml @@ -23,4 +23,11 @@ ◾ All tokens are persisted in the database and the active ones are reload at a server failure or in case of a restart. + + 1.1.0 + + ◾ Upgrade all projects to .NET 5 + ◾ Upgrade packages MicrosoftExtensions, AutoMapper, EntityFramework, NDB + + \ No newline at end of file diff --git a/dependencies.props b/dependencies.props index 8ebba9d..46fd986 100644 --- a/dependencies.props +++ b/dependencies.props @@ -1,16 +1,17 @@ - 3.1.8 + 5.0.0 4.1.0 3.1.0 4.0.0 5.6.1 - 9.0.0 - 7.0.0 + 10.1.1 + 8.1.1 6.0.0 5.3.1 - 3.1.3 - 1.0.0 + 5.0.12 + 1.0.2 1.0.0 + 1.0.2 \ No newline at end of file