remove net8+net9 targets (not needed anymore); upgrade packages

This commit is contained in:
2026-05-11 14:29:40 +02:00
parent f70ce7b46c
commit eb1a506c28
5 changed files with 20 additions and 11 deletions
+4 -3
View File
@@ -3,8 +3,9 @@
<PropertyGroup> <PropertyGroup>
<PackageId>Mixtape.Raven</PackageId> <PackageId>Mixtape.Raven</PackageId>
<Version>1.0.0</Version> <Version>1.0.0</Version>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks> <TargetFramework>net10.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<AssemblyName>Mixtape.Raven</AssemblyName>
<RootNamespace>Mixtape.Raven</RootNamespace> <RootNamespace>Mixtape.Raven</RootNamespace>
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
</PropertyGroup> </PropertyGroup>
@@ -12,12 +13,12 @@
<ItemGroup> <ItemGroup>
<!-- // for client <-> server compatibility see: <!-- // for client <-> server compatibility see:
// https://ravendb.net/docs/article-page/7.0/csharp/client-api/faq/backward-compatibility --> // https://ravendb.net/docs/article-page/7.0/csharp/client-api/faq/backward-compatibility -->
<PackageReference Include="RavenDB.Client" Version="5.4.206" /> <PackageReference Include="RavenDB.Client" Version="7.2.2" />
<PackageReference Include="FluentValidation" Version="12.1.1" /> <PackageReference Include="FluentValidation" Version="12.1.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\mixtape\mixtape.csproj" /> <ProjectReference Include="..\Mixtape\Mixtape.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+3 -2
View File
@@ -3,8 +3,9 @@
<PropertyGroup> <PropertyGroup>
<PackageId>Mixtape.Sqlite</PackageId> <PackageId>Mixtape.Sqlite</PackageId>
<Version>1.0.0</Version> <Version>1.0.0</Version>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks> <TargetFramework>net10.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<AssemblyName>Mixtape.Sqlite</AssemblyName>
<RootNamespace>Mixtape.Sqlite</RootNamespace> <RootNamespace>Mixtape.Sqlite</RootNamespace>
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
</PropertyGroup> </PropertyGroup>
@@ -15,7 +16,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\mixtape\mixtape.csproj" /> <ProjectReference Include="..\Mixtape\Mixtape.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+3 -3
View File
@@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.0.31912.275 VisualStudioVersion = 17.0.31912.275
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mixtape", "mixtape\mixtape.csproj", "{33CD6E46-CD81-42C3-9019-C0EAD557EE99}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mixtape", "Mixtape\Mixtape.csproj", "{33CD6E46-CD81-42C3-9019-C0EAD557EE99}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mixtape.Raven", "mixtape.Raven\mixtape.Raven.csproj", "{DC79D7EA-FAA1-4701-9C36-8295CD1C45D0}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mixtape.Raven", "Mixtape.Raven\Mixtape.Raven.csproj", "{DC79D7EA-FAA1-4701-9C36-8295CD1C45D0}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mixtape.Sqlite", "mixtape.Sqlite\mixtape.Sqlite.csproj", "{A57D88BC-952F-4311-B474-26FBF0FA957E}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mixtape.Sqlite", "Mixtape.Sqlite\Mixtape.Sqlite.csproj", "{A57D88BC-952F-4311-B474-26FBF0FA957E}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
+7 -1
View File
@@ -1,6 +1,8 @@
using System.IO; using System.IO;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption;
using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel;
using Microsoft.AspNetCore.DataProtection.KeyManagement; using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.DataProtection.Repositories; using Microsoft.AspNetCore.DataProtection.Repositories;
using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing;
@@ -28,7 +30,11 @@ internal class MixtapeSecurityModule : MixtapeModule
services.Configure<PowCapServerOptions>(opts => opts.Default = captchaSection.Get<CaptchaOptions>() ?? new CaptchaOptions()); services.Configure<PowCapServerOptions>(opts => opts.Default = captchaSection.Get<CaptchaOptions>() ?? new CaptchaOptions());
services.AddOptions<CaptchaOptions>().Bind(captchaSection); services.AddOptions<CaptchaOptions>().Bind(captchaSection);
services.AddDataProtection(); services.AddDataProtection();/*.UseCryptographicAlgorithms(new AuthenticatedEncryptorConfiguration()
{
EncryptionAlgorithm = EncryptionAlgorithm.AES_256_CBC,
ValidationAlgorithm = ValidationAlgorithm.HMACSHA512
});*/
services.AddSingleton<IConfigureOptions<KeyManagementOptions>>(s => services.AddSingleton<IConfigureOptions<KeyManagementOptions>>(s =>
{ {
ILoggerFactory loggerFactory = s.GetService<ILoggerFactory>() ?? NullLoggerFactory.Instance; ILoggerFactory loggerFactory = s.GetService<ILoggerFactory>() ?? NullLoggerFactory.Instance;
+3 -2
View File
@@ -3,8 +3,9 @@
<PropertyGroup> <PropertyGroup>
<PackageId>Mixtape</PackageId> <PackageId>Mixtape</PackageId>
<Version>1.0.0</Version> <Version>1.0.0</Version>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks> <TargetFramework>net10.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<AssemblyName>Mixtape</AssemblyName>
<RootNamespace>Mixtape</RootNamespace> <RootNamespace>Mixtape</RootNamespace>
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
</PropertyGroup> </PropertyGroup>
@@ -17,7 +18,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="10.0.7" /> <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="10.0.7" />
<PackageReference Include="FluentValidation" Version="12.1.1" /> <PackageReference Include="FluentValidation" Version="12.1.1" />
<PackageReference Include="Postmark" Version="5.3.0" /> <PackageReference Include="Postmark" Version="5.3.0" />
<PackageReference Include="PowCapServer.Core" Version="2.0.1" /> <PackageReference Include="PowCapServer.Core" Version="2.0.2" />
<PackageReference Include="Seq.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Seq.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="SixLabors.ImageSharp.Web" Version="3.2.0" /> <PackageReference Include="SixLabors.ImageSharp.Web" Version="3.2.0" />
</ItemGroup> </ItemGroup>