update to dotnet 10 #4

Merged
Natlinux merged 1 commits from feature/dotnet into develop 2026-02-05 19:10:10 +00:00
11 changed files with 142 additions and 124 deletions
Showing only changes of commit be6ce2f604 - Show all commits

View File

@@ -0,0 +1,21 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="7">
<item index="0" class="java.lang.String" itemvalue="nobr" />
<item index="1" class="java.lang.String" itemvalue="noembed" />
<item index="2" class="java.lang.String" itemvalue="comment" />
<item index="3" class="java.lang.String" itemvalue="noscript" />
<item index="4" class="java.lang.String" itemvalue="embed" />
<item index="5" class="java.lang.String" itemvalue="script" />
<item index="6" class="java.lang.String" itemvalue="ngb-toast" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
</profile>
</component>

View File

@@ -5,83 +5,25 @@
<projectFile profileName="Angular_test">src/API/API.csproj</projectFile> <projectFile profileName="Angular_test">src/API/API.csproj</projectFile>
<projectFile profileName="swagger_dev">src/API/API.csproj</projectFile> <projectFile profileName="swagger_dev">src/API/API.csproj</projectFile>
<projectFile profileName="swagger_test">src/API/API.csproj</projectFile> <projectFile profileName="swagger_test">src/API/API.csproj</projectFile>
<projectFile>tests/Application.FunctionalTest/Application.FunctionalTest.csproj</projectFile>
<projectFile>tests/Application.UnitTest/Application.UnitTest.csproj</projectFile>
</component> </component>
<component name="AutoImportSettings"> <component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a" name="Changes" comment=""> <list default="true" id="1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/src/ClientApp/public/styles/common.scss" afterDir="false" /> <change afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/domain/entities/role.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/domain/entities/user-role.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/domain/entities/user.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/auth-service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/auth-service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/dark-mode.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/dark-mode.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/loading.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/loading.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/reset-password.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/reset-password.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/toast.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/toast.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user-store.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user-store.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user.service.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user.service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/utilities/password-validator.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/utilities/password-validator.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/utilities/reset-password-validator.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/utilities/validate-form.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/utilities/validate-form.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/forget-password-popup/forget-password-popup.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/forget-password-popup/forget-password-popup.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/forget-password-popup/forget-password-popup.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/forget-password-popup/forget-password-popup.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/login/login.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/login/login.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/login/login.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/login/login.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/register/register.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/register/register.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/register/register.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/register/register.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/reset-password/reset-password.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/reset-password/reset-password.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/reset-password/reset-password.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/authentication/reset-password/reset-password.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/footer/footer.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/footer/footer.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/footer/footer.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/footer/footer.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/header/header.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/header/header.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/header/header.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/components/header/header.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/interfaces/iauth-service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/interfaces/iuser-service.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/interfaces/toast.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/models/login-request.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/models/refresh-token-request.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/models/register-request.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/models/reset-password.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/shared/toast/toast.component.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/shared/toast/toast.component.scss" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/shared/toast/toast.component.spec.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/app/presentation/shared/toast/toast.component.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/environments/environment.development.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/environments/environment.prod.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/environments/environment.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/ClientApp/src/environments/version.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/indexLayout.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/indexLayout.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/angular.json" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/angular.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/API/API.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/API.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/package-lock.json" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/package.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/API/Program.cs" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/Program.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/src/app/app.component.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/src/app/app.component.html" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Application/Application.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/Application/Application.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/src/app/app.component.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/src/app/app.component.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user.service.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/src/app/infrastructure/services/user.service.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/src/app/app.routes.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/src/app/app.routes.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Domain/Domain.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/Domain/Domain.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ClientApp/src/styles.scss" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/src/styles.scss" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Infrastructure/Infrastructure.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/Infrastructure/Infrastructure.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tests/Application.FunctionalTest/Application.FunctionalTest.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/tests/Application.FunctionalTest/Application.FunctionalTest.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tests/Application.UnitTest/Application.UnitTest.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/tests/Application.UnitTest/Application.UnitTest.csproj" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -120,32 +62,74 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
".NET Launch Settings Profile.API: Angular_dev.executor": "Run", &quot;.NET Launch Settings Profile.API: Angular_dev.executor&quot;: &quot;Run&quot;,
"RunOnceActivity.MCP Project settings loaded": "true", &quot;RunOnceActivity.MCP Project settings loaded&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
"RunOnceActivity.git.unshallow": "true", &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
"RunOnceActivity.typescript.service.memoryLimit.init": "true", &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true", &quot;com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1&quot;: &quot;true&quot;,
"git-widget-placeholder": "feature/components", &quot;git-widget-placeholder&quot;: &quot;feature/dotnet&quot;,
"junie.onboarding.icon.badge.shown": "true", &quot;junie.onboarding.icon.badge.shown&quot;: &quot;true&quot;,
"node.js.detected.package.eslint": "true", &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
"node.js.detected.package.tslint": "true", &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
"node.js.selected.package.eslint": "(autodetect)", &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.tslint": "(autodetect)", &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"settings.editor.selected.configurable": "vcs.Git", &quot;settings.editor.selected.configurable&quot;: &quot;vcs.Git&quot;,
"to.speed.mode.migration.done": "true", &quot;to.speed.mode.migration.done&quot;: &quot;true&quot;,
"ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib", &quot;ts.external.directory.path&quot;: &quot;/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib&quot;,
"vue.rearranger.settings.migration": "true" &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
} }
}]]></component> }</component>
<component name="RecapUselessUpdatesCounter"> <component name="RecapUselessUpdatesCounter">
<option name="suspendCountdown" value="4" /> <option name="suspendCountdown" value="1" />
</component> </component>
<component name="RunManager" selected=".NET Launch Settings Profile.API: Angular_dev"> <component name="RunManager" selected=".NET Launch Settings Profile.API: Angular_dev">
<configuration name="Application.FunctionalTest" type="DotNetProject" factoryName=".NET Project">
<option name="EXE_PATH" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="PASS_PARENT_ENVS" value="1" />
<option name="ENV_FILE_PATHS" value="" />
<option name="REDIRECT_INPUT_PATH" value="" />
<option name="MIXED_MODE_DEBUG" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
<option name="AUTO_ATTACH_CHILDREN" value="0" />
<option name="PROJECT_PATH" value="$PROJECT_DIR$/tests/Application.FunctionalTest/Application.FunctionalTest.csproj" />
<option name="PROJECT_EXE_PATH_TRACKING" value="1" />
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
<option name="PROJECT_KIND" value="DotNetCore" />
<option name="PROJECT_TFM" value="" />
<method v="2">
<option name="Build" />
</method>
</configuration>
<configuration name="Application.UnitTest" type="DotNetProject" factoryName=".NET Project">
<option name="EXE_PATH" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="PASS_PARENT_ENVS" value="1" />
<option name="ENV_FILE_PATHS" value="" />
<option name="REDIRECT_INPUT_PATH" value="" />
<option name="MIXED_MODE_DEBUG" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
<option name="AUTO_ATTACH_CHILDREN" value="0" />
<option name="PROJECT_PATH" value="$PROJECT_DIR$/tests/Application.UnitTest/Application.UnitTest.csproj" />
<option name="PROJECT_EXE_PATH_TRACKING" value="1" />
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
<option name="PROJECT_KIND" value="DotNetCore" />
<option name="PROJECT_TFM" value="" />
<method v="2">
<option name="Build" />
</method>
</configuration>
<configuration name="API: Angular_dev" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> <configuration name="API: Angular_dev" type="LaunchSettings" factoryName=".NET Launch Settings Profile">
<option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/src/API/API.csproj" /> <option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/src/API/API.csproj" />
<option name="LAUNCH_PROFILE_TFM" value="net9.0" /> <option name="LAUNCH_PROFILE_TFM" value="net9.0" />
@@ -225,7 +209,8 @@
<workItem from="1770062612983" duration="466000" /> <workItem from="1770062612983" duration="466000" />
<workItem from="1770204235235" duration="1487000" /> <workItem from="1770204235235" duration="1487000" />
<workItem from="1770294298887" duration="1216000" /> <workItem from="1770294298887" duration="1216000" />
<workItem from="1770295524085" duration="6236000" /> <workItem from="1770295524085" duration="8729000" />
<workItem from="1770308954185" duration="2271000" />
</task> </task>
<task id="LOCAL-00001" summary="updating template"> <task id="LOCAL-00001" summary="updating template">
<option name="closed" value="true" /> <option name="closed" value="true" />
@@ -243,7 +228,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1770057870215</updated> <updated>1770057870215</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="login.component, register.component">
<option name="closed" value="true" />
<created>1770306489835</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1770306489835</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@@ -266,7 +259,8 @@
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" /> <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
<MESSAGE value="updating template" /> <MESSAGE value="updating template" />
<MESSAGE value="update to angular 20" /> <MESSAGE value="update to angular 20" />
<option name="LAST_COMMIT_MESSAGE" value="update to angular 20" /> <MESSAGE value="login.component, register.component" />
<option name="LAST_COMMIT_MESSAGE" value="login.component, register.component" />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<SpaRoot>..\ClientApp\</SpaRoot> <SpaRoot>..\ClientApp\</SpaRoot>
@@ -10,10 +10,10 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="9.0.4" /> <PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="10.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="8.1.1" /> <PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="10.1.2" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="8.1.1" /> <PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.1.2" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="8.1.1" /> <PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="10.1.2" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -1,4 +1,4 @@
using Microsoft.OpenApi.Models; using Microsoft.OpenApi;
namespace API.Extension; namespace API.Extension;

View File

@@ -1,5 +1,5 @@
using API.Extension; using API.Extension;
using Microsoft.OpenApi.Models; using Microsoft.OpenApi;
using Swashbuckle.AspNetCore.SwaggerGen; using Swashbuckle.AspNetCore.SwaggerGen;
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>

View File

@@ -3,8 +3,6 @@ import {HttpClient} from "@angular/common/http";
import {environment} from "../../../environments/environment.development"; import {environment} from "../../../environments/environment.development";
import {IUserService} from "../../presentation/interfaces/iuser-service"; import {IUserService} from "../../presentation/interfaces/iuser-service";
import { Observable } from "rxjs"; import { Observable } from "rxjs";
import {CookieConsentRequest} from "../../presentation/models/cookie-consent-request";
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'
}) })
@@ -21,11 +19,4 @@ export class UserService implements IUserService {
}; };
return this.httpClient.get<any>(this.baseUrl + 'user', {params}); return this.httpClient.get<any>(this.baseUrl + 'user', {params});
} }
assignCookieConsent(CookieConsentRequest: CookieConsentRequest): Observable<any> {
return this.httpClient.post<any>(this.baseUrl + 'user/assign-cookie', CookieConsentRequest,{});
}
revokeCookieConsent(): Observable<any>{
return this.httpClient.delete<any>(this.baseUrl + 'user/revoke-cookie', {});
}
} }

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>

View File

@@ -1,17 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2"/> <PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0"/> <PrivateAssets>all</PrivateAssets>
<PackageReference Include="xunit" Version="2.9.2"/> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"/> </PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.v3" Version="3.2.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@@ -1,17 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2"/> <PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0"/> <PrivateAssets>all</PrivateAssets>
<PackageReference Include="xunit" Version="2.9.2"/> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"/> </PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.v3" Version="3.2.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>