From b4d38099f90187d7caa94c8559940ff91ccb2d02 Mon Sep 17 00:00:00 2001 From: "D. Ror" Date: Fri, 14 Jun 2024 11:58:35 -0400 Subject: [PATCH] Upgrade .NET from 6.0 to 8.0 (#3046) Co-authored-by: Jim Grady --- .editorconfig | 2 + .env.development | 1 + .github/workflows/backend.yml | 9 +- .gitignore | 1 + .vscode/launch.json | 2 +- Backend.Tests/Backend.Tests.csproj | 4 +- .../Controllers/LiftControllerTests.cs | 2 + Backend.Tests/Mocks/PermissionServiceMock.cs | 7 +- Backend.Tests/Mocks/UserRepositoryMock.cs | 14 +- Backend/BackendFramework.csproj | 10 +- Backend/Dockerfile | 9 +- Backend/Helper/DuplicateFinder.cs | 3 +- Backend/Helper/FileOperations.cs | 6 - Backend/Helper/FileStorage.cs | 7 +- Backend/Helper/LiftHelper.cs | 6 - Backend/Helper/Sanitization.cs | 11 +- Backend/Repositories/BannerRepository.cs | 3 +- Backend/Repositories/UserRepository.cs | 13 +- Backend/Services/InviteService.cs | 13 +- Backend/Services/LiftService.cs | 7 +- Backend/Services/MergeService.cs | 7 +- Backend/Services/PasswordResetService.cs | 2 +- Backend/Services/PermissionService.cs | 7 +- Backend/Startup.cs | 12 +- README.md | 7 +- .../assets/licenses/backend_licenses.txt | 447 ++++++++++++------ 26 files changed, 352 insertions(+), 260 deletions(-) create mode 100644 .env.development diff --git a/.editorconfig b/.editorconfig index 2a106c13b0..b7a4a38488 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,8 @@ indent_size = 4 # CA1305 requires using a FormatProvider with int.Parse and string.Format. dotnet_diagnostic.CA1305.severity = none dotnet_diagnostic.CA1710.severity = warning +# CA1825 doesn't like `Produces("application/json")` in our controllers. +dotnet_diagnostic.CA1825.severity = none # TODO: Implement LoggerMessage pattern to remove the CA1848 exception. dotnet_diagnostic.CA1848.severity = none # CS1591 is our only exception to EnforceCodeStyleInBuild+GenerateDocumentationFile. diff --git a/.env.development b/.env.development new file mode 100644 index 0000000000..9985fe42c6 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +DOTNET_WATCH_RESTART_ON_RUDE_EDIT=true diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 195436e419..489ed5775b 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - dotnet: ["6.0.x"] + dotnet: ["8.0.x"] steps: # See https://docs.stepsecurity.io/harden-runner/getting-started/ for instructions on # configuring harden-runner and identifying allowed endpoints. @@ -114,7 +114,6 @@ jobs: disable-sudo: true egress-policy: block allowed-endpoints: > - *.actions.githubusercontent.com:443 aka.ms:443 api.github.com:443 api.nuget.org:443 @@ -122,6 +121,7 @@ jobs: dotnetcli.azureedge.net:443 github.com:443 objects.githubusercontent.com:443 + ts-crl.ws.symantec.com:80 - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 @@ -130,7 +130,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 with: - dotnet-version: "6.0.x" + dotnet-version: "8.0.x" - name: Initialize CodeQL uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3 with: @@ -159,8 +159,8 @@ jobs: disable-file-monitoring: true egress-policy: block allowed-endpoints: > - *.actions.githubusercontent.com:443 *.data.mcr.microsoft.com:443 + *.symcb.com:80 api.nuget.org:443 archive.ubuntu.com:80 dc.services.visualstudio.com:443 @@ -168,6 +168,7 @@ jobs: github.com:443 mcr.microsoft.com:443 security.ubuntu.com:80 + ts-crl.ws.symantec.com:80 # For subfolders, currently a full checkout is required. # See: https://github.com/marketplace/actions/build-and-push-docker-images#path-context - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 diff --git a/.gitignore b/.gitignore index add9aefeb1..0c2992bdc4 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ build # Generated files for development use docker-compose.yml .env.* +!.env.development .env*.local nginx/scripts /backups diff --git a/.vscode/launch.json b/.vscode/launch.json index 9dfd5d033d..920c48361e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -24,7 +24,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/Backend/bin/Debug/net6.0/BackendFramework.dll", + "program": "${workspaceFolder}/Backend/bin/Debug/net8.0/BackendFramework.dll", "args": [], "cwd": "${workspaceFolder}/Backend", "stopAtEntry": false, diff --git a/Backend.Tests/Backend.Tests.csproj b/Backend.Tests/Backend.Tests.csproj index 25bc2890bd..307748f41e 100644 --- a/Backend.Tests/Backend.Tests.csproj +++ b/Backend.Tests/Backend.Tests.csproj @@ -1,6 +1,6 @@ - net6.0 + net8.0 false enable true @@ -9,7 +9,7 @@ Recommended true true - $(NoWarn);CA1305;CS1591 + $(NoWarn);CA1305;CA1859;CS1591 diff --git a/Backend.Tests/Controllers/LiftControllerTests.cs b/Backend.Tests/Controllers/LiftControllerTests.cs index f6f4c596c7..28baa591da 100644 --- a/Backend.Tests/Controllers/LiftControllerTests.cs +++ b/Backend.Tests/Controllers/LiftControllerTests.cs @@ -686,7 +686,9 @@ public void TestRoundtrip(RoundTripObj roundTripObj) private sealed class MockLogger : ILogger { +#pragma warning disable CS8633 public IDisposable BeginScope(TState state) +#pragma warning restore CS8633 { throw new NotImplementedException(); } diff --git a/Backend.Tests/Mocks/PermissionServiceMock.cs b/Backend.Tests/Mocks/PermissionServiceMock.cs index 9a82a3340e..77d566390f 100644 --- a/Backend.Tests/Mocks/PermissionServiceMock.cs +++ b/Backend.Tests/Mocks/PermissionServiceMock.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.Serialization; using System.Threading.Tasks; using BackendFramework.Interfaces; using BackendFramework.Models; @@ -156,12 +155,8 @@ public string GetUserId(HttpContext? request) } } - [Serializable] - internal class UserAuthenticationException : Exception + internal sealed class UserAuthenticationException : Exception { public UserAuthenticationException() { } - - protected UserAuthenticationException(SerializationInfo info, StreamingContext context) - : base(info, context) { } } } diff --git a/Backend.Tests/Mocks/UserRepositoryMock.cs b/Backend.Tests/Mocks/UserRepositoryMock.cs index c386eb202f..0297156761 100644 --- a/Backend.Tests/Mocks/UserRepositoryMock.cs +++ b/Backend.Tests/Mocks/UserRepositoryMock.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.Serialization; using System.Threading.Tasks; using BackendFramework.Helper; using BackendFramework.Interfaces; @@ -58,21 +57,21 @@ public Task Delete(string userId) public Task GetUserByEmail(string email, bool sanitize = true) { - var user = _users.Find(u => u.Email.ToLowerInvariant() == email.ToLowerInvariant()); + var user = _users.Find(u => u.Email.Equals(email, StringComparison.OrdinalIgnoreCase)); return Task.FromResult(user); } public Task GetUserByEmailOrUsername(string emailOrUsername, bool sanitize = true) { var user = _users.Find(u => - u.Email.ToLowerInvariant() == emailOrUsername.ToLowerInvariant() || - u.Username.ToLowerInvariant() == emailOrUsername.ToLowerInvariant()); + u.Email.Equals(emailOrUsername, StringComparison.OrdinalIgnoreCase) || + u.Username.Equals(emailOrUsername, StringComparison.OrdinalIgnoreCase)); return Task.FromResult(user); } public Task GetUserByUsername(string username, bool sanitize = true) { - var user = _users.Find(u => u.Username.ToLowerInvariant() == username.ToLowerInvariant()); + var user = _users.Find(u => u.Username.Equals(username, StringComparison.OrdinalIgnoreCase)); return Task.FromResult(user); } @@ -102,11 +101,8 @@ public Task ChangePassword(string userId, string password) } } - [Serializable] - internal class UserCreationException : Exception + internal sealed class UserCreationException : Exception { public UserCreationException() { } - - protected UserCreationException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } diff --git a/Backend/BackendFramework.csproj b/Backend/BackendFramework.csproj index b9f47657c4..b4af8edf19 100644 --- a/Backend/BackendFramework.csproj +++ b/Backend/BackendFramework.csproj @@ -1,21 +1,21 @@ - net6.0 + net8.0 10.0 enable true Recommended true true - $(NoWarn);CA1305;CA1816;CA1848;CS1591 + $(NoWarn);CA1305;CA1848;CS1591 NU1701 - - - + + + diff --git a/Backend/Dockerfile b/Backend/Dockerfile index 705f9a2a15..1000df8198 100644 --- a/Backend/Dockerfile +++ b/Backend/Dockerfile @@ -1,5 +1,5 @@ # Docker multi-stage build -FROM mcr.microsoft.com/dotnet/sdk:6.0.423-focal-amd64 AS builder +FROM mcr.microsoft.com/dotnet/sdk:8.0.301-jammy-amd64 AS builder WORKDIR /app # Copy csproj and restore (fetch dependencies) as distinct layers. @@ -11,7 +11,7 @@ COPY . ./ RUN dotnet publish -c Release -o build # Build runtime image. -FROM mcr.microsoft.com/dotnet/aspnet:6.0.31-focal-amd64 +FROM mcr.microsoft.com/dotnet/aspnet:8.0.6-jammy-amd64 ENV ASPNETCORE_URLS=http://+:5000 ENV COMBINE_IS_IN_CONTAINER=1 @@ -33,9 +33,8 @@ RUN apt-get update \ # Create the home directory for the new app user. RUN mkdir -p $HOME -# Create an app user so the program doesn't run as root. -RUN groupadd -r app && \ - useradd -r -g app -d $HOME -s /sbin/nologin -c "Docker image user" app +# Modify the existing app user to prevent login. +RUN usermod -s /sbin/nologin -c "Docker image user" app ## Set up application install directory. RUN mkdir $APP_HOME && \ diff --git a/Backend/Helper/DuplicateFinder.cs b/Backend/Helper/DuplicateFinder.cs index bc6fc2678c..db700b3b61 100644 --- a/Backend/Helper/DuplicateFinder.cs +++ b/Backend/Helper/DuplicateFinder.cs @@ -2,14 +2,13 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using BackendFramework.Interfaces; using BackendFramework.Models; namespace BackendFramework.Helper { public class DuplicateFinder { - private readonly IEditDistance _editDist; + private readonly LevenshteinDistance _editDist; private readonly int _maxInList; private readonly int _maxLists; private readonly int _maxScore; diff --git a/Backend/Helper/FileOperations.cs b/Backend/Helper/FileOperations.cs index 4846afe93c..ba4b2df2a5 100644 --- a/Backend/Helper/FileOperations.cs +++ b/Backend/Helper/FileOperations.cs @@ -3,20 +3,14 @@ using System.IO; using System.IO.Compression; using System.Linq; -using System.Runtime.Serialization; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace BackendFramework.Helper { - [Serializable] public class InvalidFileException : Exception { public InvalidFileException(string message) : base(message) { } - - protected InvalidFileException(SerializationInfo info, StreamingContext context) - : base(info, context) { } - } /// diff --git a/Backend/Helper/FileStorage.cs b/Backend/Helper/FileStorage.cs index e584f9eb81..4453a70ae3 100644 --- a/Backend/Helper/FileStorage.cs +++ b/Backend/Helper/FileStorage.cs @@ -2,7 +2,6 @@ using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; -using System.Runtime.Serialization; namespace BackendFramework.Helper { @@ -26,13 +25,9 @@ public enum FileType } /// Indicates that an error occurred locating the current user's home directory. - [Serializable] - public class HomeFolderNotFoundException : Exception + public sealed class HomeFolderNotFoundException : Exception { public HomeFolderNotFoundException() { } - - protected HomeFolderNotFoundException(SerializationInfo info, StreamingContext context) - : base(info, context) { } } /// diff --git a/Backend/Helper/LiftHelper.cs b/Backend/Helper/LiftHelper.cs index 621dbae536..0fb7b2ce83 100644 --- a/Backend/Helper/LiftHelper.cs +++ b/Backend/Helper/LiftHelper.cs @@ -2,20 +2,14 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Runtime.Serialization; using BackendFramework.Models; using SIL.Lift.Parsing; namespace BackendFramework.Helper { - [Serializable] public class InvalidLiftFileException : InvalidFileException { public InvalidLiftFileException(string message) : base("Malformed LIFT file: " + message) { } - - protected InvalidLiftFileException(SerializationInfo info, StreamingContext context) - : base(info, context) { } - } public static class TraitNames diff --git a/Backend/Helper/Sanitization.cs b/Backend/Helper/Sanitization.cs index bb9bfe0dc7..fd0889eba8 100644 --- a/Backend/Helper/Sanitization.cs +++ b/Backend/Helper/Sanitization.cs @@ -3,27 +3,20 @@ using System.Collections.Immutable; using System.Globalization; using System.Linq; -using System.Runtime.Serialization; using System.Text; namespace BackendFramework.Helper { /// Indicates an invalid input file name. - [Serializable] - public class InvalidFileNameException : Exception + public sealed class InvalidFileNameException : Exception { public InvalidFileNameException() : base() { } - - protected InvalidFileNameException(SerializationInfo info, StreamingContext context) : base(info, context) { } } /// Indicates an invalid input id. - [Serializable] - public class InvalidIdException : Exception + public sealed class InvalidIdException : Exception { public InvalidIdException() { } - - protected InvalidIdException(SerializationInfo info, StreamingContext context) : base(info, context) { } } public static class Sanitization diff --git a/Backend/Repositories/BannerRepository.cs b/Backend/Repositories/BannerRepository.cs index b9a4b11ea1..d36ee2d249 100644 --- a/Backend/Repositories/BannerRepository.cs +++ b/Backend/Repositories/BannerRepository.cs @@ -57,7 +57,6 @@ public async Task Update(SiteBanner banner) return ResultOfUpdate.Updated; } - [Serializable] - private class BannerNotFound : Exception { } + private sealed class BannerNotFound : Exception { } } } diff --git a/Backend/Repositories/UserRepository.cs b/Backend/Repositories/UserRepository.cs index 89d1d86051..e576ea2966 100644 --- a/Backend/Repositories/UserRepository.cs +++ b/Backend/Repositories/UserRepository.cs @@ -118,7 +118,7 @@ public async Task Delete(string userId) public async Task GetUserByEmail(string email, bool sanitize = true) { var user = (await _userDatabase.Users.FindAsync( - x => x.Email.ToLowerInvariant() == email.ToLowerInvariant())).FirstOrDefault(); + x => x.Email.Equals(email, StringComparison.OrdinalIgnoreCase))).FirstOrDefault(); if (sanitize && user is not null) { user.Sanitize(); @@ -131,8 +131,9 @@ public async Task Delete(string userId) public async Task GetUserByEmailOrUsername(string emailOrUsername, bool sanitize = true) { var lower = emailOrUsername.ToLowerInvariant(); - var user = (await _userDatabase.Users.FindAsync( - u => u.Username.ToLowerInvariant() == lower || u.Email.ToLowerInvariant() == lower)).FirstOrDefault(); + var user = (await _userDatabase.Users.FindAsync(u => + u.Username.Equals(emailOrUsername, StringComparison.OrdinalIgnoreCase) || + u.Email.Equals(emailOrUsername, StringComparison.OrdinalIgnoreCase))).FirstOrDefault(); if (sanitize && user is not null) { user.Sanitize(); @@ -145,7 +146,7 @@ public async Task Delete(string userId) public async Task GetUserByUsername(string username, bool sanitize = true) { var user = (await _userDatabase.Users.FindAsync( - x => x.Username.ToLowerInvariant() == username.ToLowerInvariant())).FirstOrDefault(); + x => x.Username.Equals(username, StringComparison.OrdinalIgnoreCase))).FirstOrDefault(); if (sanitize && user is not null) { user.Sanitize(); @@ -171,12 +172,12 @@ public async Task Update(string userId, User user, bool updateIs } // Confirm that email and username aren't taken by another user. - if (user.Email.ToLowerInvariant() != oldUser.Email.ToLowerInvariant() + if (!user.Email.Equals(oldUser.Email, StringComparison.OrdinalIgnoreCase) && await GetUserByEmail(user.Email) is not null) { return ResultOfUpdate.Failed; } - if (user.Username.ToLowerInvariant() != oldUser.Username.ToLowerInvariant() + if (!user.Username.Equals(oldUser.Username, StringComparison.OrdinalIgnoreCase) && await GetUserByUsername(user.Username) is not null) { return ResultOfUpdate.Failed; diff --git a/Backend/Services/InviteService.cs b/Backend/Services/InviteService.cs index f8eb0a0cab..95421da372 100644 --- a/Backend/Services/InviteService.cs +++ b/Backend/Services/InviteService.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.Serialization; using System.Threading.Tasks; using BackendFramework.Interfaces; using BackendFramework.Models; @@ -68,11 +67,8 @@ public async Task RemoveTokenAndCreateUserRole(Project project, User user, user.ProjectRoles.Add(project.Id, userRole.Id); await _userRepo.Update(user.Id, user); // Generate the JWT based on those new userRoles - var updatedUser = await _permissionService.MakeJwt(user); - if (updatedUser is null) - { - throw new PermissionService.InvalidJwtTokenException("Unable to generate JWT."); - } + var updatedUser = await _permissionService.MakeJwt(user) + ?? throw new PermissionService.InvalidJwtTokenException("Unable to generate JWT."); await _userRepo.Update(updatedUser.Id, updatedUser); @@ -88,14 +84,11 @@ public async Task RemoveTokenAndCreateUserRole(Project project, User user, } } - [Serializable] - public class InviteException : Exception + public sealed class InviteException : Exception { public InviteException() { } public InviteException(string msg) : base(msg) { } - - protected InviteException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } } diff --git a/Backend/Services/LiftService.cs b/Backend/Services/LiftService.cs index 1075d49e29..08448451f1 100644 --- a/Backend/Services/LiftService.cs +++ b/Backend/Services/LiftService.cs @@ -4,7 +4,6 @@ using System.IO; using System.IO.Compression; using System.Linq; -using System.Runtime.Serialization; using System.Security; using System.Threading.Tasks; using System.Xml; @@ -98,13 +97,9 @@ protected override void Dispose(bool disposing) #pragma warning restore CA1816, CA2215 } - [Serializable] - public class MissingProjectException : Exception + public sealed class MissingProjectException : Exception { public MissingProjectException(string message) : base(message) { } - - protected MissingProjectException(SerializationInfo info, StreamingContext context) - : base(info, context) { } } public class LiftService : ILiftService diff --git a/Backend/Services/MergeService.cs b/Backend/Services/MergeService.cs index 86e669a232..4e0774a697 100644 --- a/Backend/Services/MergeService.cs +++ b/Backend/Services/MergeService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using System.Runtime.Serialization; using BackendFramework.Helper; using BackendFramework.Interfaces; using BackendFramework.Models; @@ -340,15 +339,11 @@ async Task isUnavailableSet(List wordIds) => return wordLists; } - [Serializable] - public class InvalidMergeWordSetException : Exception + public sealed class InvalidMergeWordSetException : Exception { public InvalidMergeWordSetException() { } public InvalidMergeWordSetException(string message) : base(message) { } - - protected InvalidMergeWordSetException(SerializationInfo info, StreamingContext context) - : base(info, context) { } } } } diff --git a/Backend/Services/PasswordResetService.cs b/Backend/Services/PasswordResetService.cs index d5d8920490..7e4eaf082d 100644 --- a/Backend/Services/PasswordResetService.cs +++ b/Backend/Services/PasswordResetService.cs @@ -45,7 +45,7 @@ public async Task ResetPassword(string token, string password) return false; } var user = (await _userRepo.GetAllUsers()).Single(u => - u.Email.ToLowerInvariant() == request.Email.ToLowerInvariant()); + u.Email.Equals(request.Email, StringComparison.OrdinalIgnoreCase)); await _userRepo.ChangePassword(user.Id, password); await ExpirePasswordReset(request.Email); return true; diff --git a/Backend/Services/PermissionService.cs b/Backend/Services/PermissionService.cs index 4d0f8de6be..40bc5db85a 100644 --- a/Backend/Services/PermissionService.cs +++ b/Backend/Services/PermissionService.cs @@ -1,6 +1,5 @@ using System; using System.IdentityModel.Tokens.Jwt; -using System.Runtime.Serialization; using System.Security.Claims; using System.Text; using System.Threading.Tasks; @@ -198,17 +197,13 @@ public string GetUserId(HttpContext request) return user; } - [Serializable] - public class InvalidJwtTokenException : Exception + public sealed class InvalidJwtTokenException : Exception { public InvalidJwtTokenException() { } public InvalidJwtTokenException(string msg) : base(msg) { } public InvalidJwtTokenException(string msg, Exception innerException) : base(msg, innerException) { } - - protected InvalidJwtTokenException(SerializationInfo info, StreamingContext context) - : base(info, context) { } } } } diff --git a/Backend/Startup.cs b/Backend/Startup.cs index 3c9e932c30..84a0fc2b08 100644 --- a/Backend/Startup.cs +++ b/Backend/Startup.cs @@ -57,8 +57,7 @@ public Settings() } } - [Serializable] - private class EnvironmentNotConfiguredException : Exception { } + private sealed class EnvironmentNotConfiguredException : Exception { } private string? CheckedEnvironmentVariable(string name, string? defaultValue, string error = "") { @@ -78,8 +77,7 @@ private static bool IsInContainer() return Environment.GetEnvironmentVariable("COMBINE_IS_IN_CONTAINER") is not null; } - [Serializable] - private class AdminUserCreationException : Exception { } + private sealed class AdminUserCreationException : Exception { } /// This method gets called by the runtime. Use this method to add services for dependency injection. /// @@ -150,8 +148,10 @@ public void ConfigureServices(IServiceCollection services) options => { var connectionStringKey = IsInContainer() ? "ContainerConnectionString" : "ConnectionString"; - options.ConnectionString = Configuration[$"MongoDB:{connectionStringKey}"]; - options.CombineDatabase = Configuration["MongoDB:CombineDatabase"]; + options.ConnectionString = Configuration[$"MongoDB:{connectionStringKey}"] + ?? throw new EnvironmentNotConfiguredException(); + options.CombineDatabase = Configuration["MongoDB:CombineDatabase"] + ?? throw new EnvironmentNotConfiguredException(); const string emailServiceFailureMessage = "Email services will not work."; options.SmtpServer = CheckedEnvironmentVariable( diff --git a/README.md b/README.md index e69d275391..cbdcfb91d4 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,11 @@ A rapid word collection tool. See the [User Guide](https://sillsdev.github.io/Th - On Ubuntu, follow [this guide](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) using the appropriate Node.js version. -4. [.NET Core SDK 6.0](https://dotnet.microsoft.com/download/dotnet/6.0) - - On Ubuntu, follow these [instructions](https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu). +4. [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) + + - On Ubuntu 20.02 or earlier, follow + [these instructions](https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu). + 5. [MongoDB](https://mongodb.com/docs/manual/administration/install-community/) provides instructions on how to install the current release of MongoDB. diff --git a/docs/user_guide/assets/licenses/backend_licenses.txt b/docs/user_guide/assets/licenses/backend_licenses.txt index d7bf00079e..2589e27a54 100644 --- a/docs/user_guide/assets/licenses/backend_licenses.txt +++ b/docs/user_guide/assets/licenses/backend_licenses.txt @@ -77,90 +77,76 @@ license Type:MIT #################################################################################################### Package:Microsoft.AspNetCore.Authentication.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core common types used by the various authentication components. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Authentication.Core -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core common types used by the various authentication middleware components. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Authentication.JwtBearer -Version:6.0.28 +Version:8.0.3 project URL:https://asp.net/ Description:ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. -This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3b519aa7d1a1b66e1d329d694f814e1d8228dc8c +This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/88ec3bc3f37e76fbcc932a25f9f0c1c29fe2b343 licenseUrl:https://licenses.nuget.org/MIT license Type:MIT #################################################################################################### Package:Microsoft.AspNetCore.Authorization -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core authorization classes. Commonly used types: Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute Microsoft.AspNetCore.Authorization.AuthorizeAttribute - -This package was built from the source code at https://github.com/aspnet/Security/tree/93926543f8469614c2feb23de8a8c0561b8b2463 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Authorization.Policy -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core authorization policy helper classes. - -This package was built from the source code at https://github.com/aspnet/Security/tree/93926543f8469614c2feb23de8a8c0561b8b2463 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Hosting.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core hosting and startup abstractions for web applications. - -This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Hosting.Server.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core hosting server abstractions for web applications. - -This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Http -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core default HTTP feature implementations. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Http.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core HTTP object model for HTTP requests and responses and also common extension methods for registering middleware in an IApplicationBuilder. Commonly used types: @@ -168,42 +154,34 @@ Microsoft.AspNetCore.Builder.IApplicationBuilder Microsoft.AspNetCore.Http.HttpContext Microsoft.AspNetCore.Http.HttpRequest Microsoft.AspNetCore.Http.HttpResponse - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Http.Extensions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core common extension methods for HTTP abstractions, HTTP headers, HTTP request/response, and session state. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Http.Features -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core HTTP feature interface definitions. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Mvc.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core MVC abstractions and interfaces for action invocation and dispatching, authorization, action filters, formatters, model binding, routing, validation, and more. Commonly used types: Microsoft.AspNetCore.Mvc.IActionResult - -This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Mvc.ApiExplorer @@ -215,7 +193,7 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Mvc.Core -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core MVC core components. Contains common action result types, attribute routing, application model conventions, API explorer, application parts, filters, formatters, model binding, and more. Commonly used types: @@ -226,10 +204,8 @@ Microsoft.AspNetCore.Mvc.FromBodyAttribute Microsoft.AspNetCore.Mvc.FromFormAttribute Microsoft.AspNetCore.Mvc.RequireHttpsAttribute Microsoft.AspNetCore.Mvc.RouteAttribute - -This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Mvc.DataAnnotations @@ -241,37 +217,33 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.ResponseCaching.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core response caching middleware abstractions and feature interface definitions. - -This package was built from the source code at https://github.com/aspnet/ResponseCaching/tree/9f49398f28d7c1e0dc0305f8080351c413b0f297 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Routing -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core middleware for routing requests to application logic and for generating links. Commonly used types: Microsoft.AspNetCore.Routing.Route Microsoft.AspNetCore.Routing.RouteCollection -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.Routing.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core abstractions for routing requests to application logic and for generating links. Commonly used types: Microsoft.AspNetCore.Routing.IRouter Microsoft.AspNetCore.Routing.RouteData - -This package was built from the source code at https://github.com/aspnet/Routing/tree/3d828221a19d91907c52c2f40928b019bee1ef92 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.StaticFiles @@ -283,13 +255,11 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.AspNetCore.WebUtilities -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:ASP.NET Core utilities, such as for working with forms, multipart messages, and query strings. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Bcl.AsyncInterfaces @@ -306,6 +276,21 @@ When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT +#################################################################################################### +Package:Microsoft.Bcl.AsyncInterfaces +Version:1.0.0 +project URL:https://github.com/dotnet/corefx +Description:Provides the IAsyncEnumerable and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0. + +Commonly Used Types: +System.IAsyncDisposable +System.Collections.Generic.IAsyncEnumerable +System.Collections.Generic.IAsyncEnumerator + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + #################################################################################################### Package:Microsoft.Bcl.AsyncInterfaces Version:5.0.0 @@ -418,7 +403,7 @@ license Type:MIT #################################################################################################### Package:Microsoft.Extensions.Configuration.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Abstractions of key-value pair based configuration. Commonly used types: @@ -427,30 +412,26 @@ Microsoft.Extensions.Configuration.IConfigurationBuilder Microsoft.Extensions.Configuration.IConfigurationProvider Microsoft.Extensions.Configuration.IConfigurationRoot Microsoft.Extensions.Configuration.IConfigurationSection - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.DependencyInjection -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection. -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.DependencyInjection.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Abstractions for dependency injection. Commonly used types: Microsoft.Extensions.DependencyInjection.IServiceCollection - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.DependencyModel @@ -470,17 +451,15 @@ license Type: #################################################################################################### Package:Microsoft.Extensions.FileProviders.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Abstractions of files and directories. Commonly used types: Microsoft.Extensions.FileProviders.IDirectoryContents Microsoft.Extensions.FileProviders.IFileInfo Microsoft.Extensions.FileProviders.IFileProvider - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.FileProviders.Embedded @@ -492,13 +471,11 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Hosting.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:.NET Core hosting and startup abstractions for applications. - -This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Localization @@ -521,7 +498,7 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Logging.Abstractions -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Logging abstractions for Microsoft.Extensions.Logging. Commonly used types: @@ -532,10 +509,8 @@ Microsoft.Extensions.Logging.LogLevel Microsoft.Extensions.Logging.Logger Microsoft.Extensions.Logging.LoggerMessage Microsoft.Extensions.Logging.Abstractions.NullLogger - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Logging.Abstractions @@ -555,36 +530,30 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.ObjectPool -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:A simple object pool implementation. - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Options -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Provides a strongly typed way of specifying and accessing settings using dependency injection. - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.Primitives -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:Primitives shared by framework extensions. Commonly used types include: Microsoft.Extensions.Primitives.IChangeToken Microsoft.Extensions.Primitives.StringValues Microsoft.Extensions.Primitives.StringSegment - -This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.Extensions.WebEncoders @@ -596,7 +565,15 @@ license Type:Apache-2.0 #################################################################################################### Package:Microsoft.IdentityModel.Abstractions -Version:6.35.0 +Version:7.1.2 +project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet +Description:A package containing thin abstractions for Microsoft.IdentityModel. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:Microsoft.IdentityModel.Abstractions +Version:7.5.1 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet Description:A package containing thin abstractions for Microsoft.IdentityModel. licenseUrl:https://licenses.nuget.org/MIT @@ -604,15 +581,31 @@ license Type:MIT #################################################################################################### Package:Microsoft.IdentityModel.JsonWebTokens -Version:6.35.0 +Version:7.1.2 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet -Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. +Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. This is a newer, faster version of System.IdentityModel.Tokens.Jwt that has additional functionality. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:Microsoft.IdentityModel.JsonWebTokens +Version:7.5.1 +project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet +Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. This is a newer, faster version of System.IdentityModel.Tokens.Jwt that has additional functionality. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:Microsoft.IdentityModel.Logging +Version:7.1.2 +project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet +Description:Includes Event Source based logging support. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT #################################################################################################### Package:Microsoft.IdentityModel.Logging -Version:6.35.0 +Version:7.5.1 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet Description:Includes Event Source based logging support. licenseUrl:https://licenses.nuget.org/MIT @@ -620,7 +613,7 @@ license Type:MIT #################################################################################################### Package:Microsoft.IdentityModel.Protocols -Version:6.35.0 +Version:7.1.2 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet Description:Provides base protocol support for OpenIdConnect and WsFederation. licenseUrl:https://licenses.nuget.org/MIT @@ -628,7 +621,7 @@ license Type:MIT #################################################################################################### Package:Microsoft.IdentityModel.Protocols.OpenIdConnect -Version:6.35.0 +Version:7.1.2 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet Description:Includes types that provide support for OpenIdConnect protocol. licenseUrl:https://licenses.nuget.org/MIT @@ -636,7 +629,15 @@ license Type:MIT #################################################################################################### Package:Microsoft.IdentityModel.Tokens -Version:6.35.0 +Version:7.1.2 +project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet +Description:Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:Microsoft.IdentityModel.Tokens +Version:7.5.1 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet Description:Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption. licenseUrl:https://licenses.nuget.org/MIT @@ -644,13 +645,11 @@ license Type:MIT #################################################################################################### Package:Microsoft.Net.Http.Headers -Version:2.2.0 +Version:2.1.0 project URL:https://asp.net/ Description:HTTP header parser implementations. - -This package was built from the source code at https://github.com/aspnet/HttpAbstractions/tree/91db78cf926939821bc96e8e60616cf5dde0b489 -licenseUrl:https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt -license Type: +licenseUrl:https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt +license Type:Apache-2.0 #################################################################################################### Package:Microsoft.NETCore.Platforms @@ -1667,13 +1666,15 @@ license Type:MIT #################################################################################################### Package:System.Formats.Asn1 -Version:6.0.0 -project URL:https://dot.net/ +Version:5.0.0 +project URL:https://github.com/dotnet/runtime Description:Provides classes that can read and write the ASN.1 BER, CER, and DER data formats. Commonly Used Types: System.Formats.Asn1.AsnReader System.Formats.Asn1.AsnWriter + +When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT @@ -1758,9 +1759,17 @@ license Type:MS-EULA #################################################################################################### Package:System.IdentityModel.Tokens.Jwt -Version:6.35.0 +Version:7.1.2 project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet -Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. +Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:System.IdentityModel.Tokens.Jwt +Version:7.5.1 +project URL:https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet +Description:Includes types that provide support for creating, serializing and validating JSON Web Tokens. As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT @@ -2029,7 +2038,49 @@ license Type:MIT #################################################################################################### Package:System.Memory -Version:4.5.1 +Version:4.5.4 +project URL:https://dot.net/ +Description:Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments. + +Commonly Used Types: +System.Span +System.ReadOnlySpan +System.Memory +System.ReadOnlyMemory +System.Buffers.MemoryPool +System.Buffers.ReadOnlySequence +System.Buffers.Text.Utf8Parser +System.Buffers.Text.Utf8Formatter + +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + +#################################################################################################### +Package:System.Memory +Version:4.5.0 +project URL:https://dot.net/ +Description:Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments. + +Commonly Used Types: +System.Span +System.ReadOnlySpan +System.Memory +System.ReadOnlyMemory +System.Buffers.MemoryPool +System.Buffers.ReadOnlySequence +System.Buffers.Text.Utf8Parser +System.Buffers.Text.Utf8Formatter + +30ab651fcb4354552bd4891619a0bdd81e0ebdbf +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + +#################################################################################################### +Package:System.Memory +Version:4.5.3 project URL:https://dot.net/ Description:Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments. @@ -2043,7 +2094,7 @@ System.Buffers.ReadOnlySequence System.Buffers.Text.Utf8Parser System.Buffers.Text.Utf8Formatter -7ee84596d92e178bce54c986df31ccc52479e772 +c6cf790234e063b855fcdb50f3fb1b3cfac73275 When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT license Type:MIT @@ -2635,15 +2686,16 @@ license Type:MS-EULA #################################################################################################### Package:System.Runtime.CompilerServices.Unsafe -Version:5.0.0 -project URL:https://github.com/dotnet/runtime +Version:4.5.3 +project URL:https://dot.net/ Description:Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. Commonly Used Types: System.Runtime.CompilerServices.Unsafe +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f When using NuGet 3.x this package requires at least version 3.4. -licenseUrl:https://licenses.nuget.org/MIT +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT license Type:MIT #################################################################################################### @@ -2662,18 +2714,57 @@ license Type:MIT #################################################################################################### Package:System.Runtime.CompilerServices.Unsafe -Version:4.5.1 +Version:4.7.1 +project URL:https://github.com/dotnet/corefx +Description:Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + +#################################################################################################### +Package:System.Runtime.CompilerServices.Unsafe +Version:4.5.0 project URL:https://dot.net/ Description:Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. Commonly Used Types: System.Runtime.CompilerServices.Unsafe -7ee84596d92e178bce54c986df31ccc52479e772 +30ab651fcb4354552bd4891619a0bdd81e0ebdbf When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT license Type:MIT +#################################################################################################### +Package:System.Runtime.CompilerServices.Unsafe +Version:4.6.0 +project URL:https://github.com/dotnet/corefx +Description:Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + +#################################################################################################### +Package:System.Runtime.CompilerServices.Unsafe +Version:5.0.0 +project URL:https://github.com/dotnet/runtime +Description:Provides the System.Runtime.CompilerServices.Unsafe class, which provides generic, low-level functionality for manipulating pointers. + +Commonly Used Types: +System.Runtime.CompilerServices.Unsafe + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + #################################################################################################### Package:System.Runtime.CompilerServices.Unsafe Version:6.0.0 @@ -3227,7 +3318,7 @@ license Type:MIT #################################################################################################### Package:System.Security.Principal.Windows -Version:4.4.0 +Version:4.3.0 project URL:https://dot.net/ Description:Provides classes for retrieving the current Windows user and for interacting with Windows users and groups. @@ -3241,10 +3332,9 @@ System.Security.Principal.IdentityNotMappedException System.Security.Principal.WindowsBuiltInRole System.Security.Principal.WellKnownSidType -8321c729934c0f8be754953439b88e6e1c120c24 When using NuGet 3.x this package requires at least version 3.4. -licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT -license Type:MIT +licenseUrl:http://go.microsoft.com/fwlink/?LinkId=329770 +license Type:MS-EULA #################################################################################################### Package:System.Text.Encoding @@ -3292,12 +3382,14 @@ license Type:MS-EULA #################################################################################################### Package:System.Text.Encoding.CodePages -Version:6.0.0 -project URL:https://dot.net/ +Version:5.0.0 +project URL:https://github.com/dotnet/runtime Description:Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312. Commonly Used Types: System.Text.CodePagesEncodingProvider + +When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT @@ -3361,6 +3453,21 @@ When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT +#################################################################################################### +Package:System.Text.Encodings.Web +Version:4.7.1 +project URL:https://github.com/dotnet/corefx +Description:Provides types for encoding and escaping strings for use in JavaScript, HyperText Markup Language (HTML), and uniform resource locators (URL). + +Commonly Used Types: +System.Text.Encodings.Web.HtmlEncoder +System.Text.Encodings.Web.UrlEncoder +System.Text.Encodings.Web.JavaScriptEncoder + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://licenses.nuget.org/MIT +license Type:MIT + #################################################################################################### Package:System.Text.Encodings.Web Version:4.5.0 @@ -3377,6 +3484,21 @@ When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT license Type:MIT +#################################################################################################### +Package:System.Text.Encodings.Web +Version:4.6.0 +project URL:https://github.com/dotnet/corefx +Description:Provides types for encoding and escaping strings for use in JavaScript, HyperText Markup Language (HTML), and uniform resource locators (URL). + +Commonly Used Types: +System.Text.Encodings.Web.HtmlEncoder +System.Text.Encodings.Web.UrlEncoder +System.Text.Encodings.Web.JavaScriptEncoder + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + #################################################################################################### Package:System.Text.Json Version:4.7.2 @@ -3394,6 +3516,23 @@ When using NuGet 3.x this package requires at least version 3.4. licenseUrl:https://licenses.nuget.org/MIT license Type:MIT +#################################################################################################### +Package:System.Text.Json +Version:4.6.0 +project URL:https://github.com/dotnet/corefx +Description:Provides high-performance and low-allocating types that serialize objects to JavaScript Object Notation (JSON) text and deserialize JSON text to objects, with UTF-8 support built-in. Also provides types to read and write JSON text encoded as UTF-8, and to create an in-memory document object model (DOM), that is read-only, for random access of the JSON elements within a structured view of the data. + +Commonly Used Types: +System.Text.Json.JsonSerializer +System.Text.Json.JsonDocument +System.Text.Json.JsonElement +System.Text.Json.Utf8JsonWriter +System.Text.Json.Utf8JsonReader + +When using NuGet 3.x this package requires at least version 3.4. +licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT +license Type:MIT + #################################################################################################### Package:System.Text.RegularExpressions Version:4.3.0 @@ -3571,14 +3710,14 @@ license Type:MS-EULA #################################################################################################### Package:System.Threading.Tasks.Extensions -Version:4.5.1 +Version:4.5.0 project URL:https://dot.net/ Description:Provides additional types that simplify the work of writing concurrent and asynchronous code. Commonly Used Types: System.Threading.Tasks.ValueTask -7ee84596d92e178bce54c986df31ccc52479e772 +30ab651fcb4354552bd4891619a0bdd81e0ebdbf licenseUrl:https://github.com/dotnet/corefx/blob/master/LICENSE.TXT license Type:MIT