Cleanup and Backup Exists AiApi and Create a New .net 10 App and Configureit for using xDashboard ...

This commit is contained in:
2026-07-24 23:10:06 +03:30
parent 203ba30056
commit a3b3e69e53
273 changed files with 18712 additions and 5874 deletions
+20 -23
View File
@@ -1,43 +1,47 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<!-- Runtime Definition -->
<PropertyGroup>
<Version>1.0.0</Version>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<LangVersion>13.0</LangVersion>
<Authors>Hadi Khazaee Asl</Authors>
<Company>SaherElm IT Center</Company>
<PackageId>xSaherElm.xAiApi</PackageId>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFramework>net10.0</TargetFramework>
<Description>
a WebAPI Project which contains all Business Logic of xSaherElm Project's AI.
a WebAPI Project which contains all Business Logic of xSaherElm Project's AI.
</Description>
<!-- Icon Definition -->
<PackageIcon>icon.png</PackageIcon>
<!-- Fix Duplicate TargetFramework Issue -->
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<!-- Local Projects -->
<!-- Icon Handling -->
<ItemGroup>
<ProjectReference Include="..\Modules\xCommons\xCommons.csproj" />
<ProjectReference Include="..\Modules\xAiModels\xAiModels.csproj" />
<ProjectReference Include="..\Modules\xDataService\xDataService.csproj" />
<ProjectReference Include="..\Modules\xPushService\xPushService.csproj" />
<ProjectReference Include="..\Modules\xIdentityHelper\xIdentityHelper.csproj" />
<None Include="../../Resources/Images/favicon.png" Link="icon.png" Pack="true"
PackagePath="\icon.png" />
</ItemGroup>
<!-- Local Modules -->
<ItemGroup>
<!-- <PackageReference Include="xDashboard.xCommons" Version="1.0.0" /> -->
<!-- <PackageReference Include="xDashboard.xDataService" Version="1.0.0" />
<PackageReference Include="xDashboard.xPushService" Version="1.0.0" /> -->
</ItemGroup>
<!-- Local Dependencies -->
<ItemGroup>
<ProjectReference Include="../Modules/xCommons/xCommons.csproj" />
<ProjectReference Include="../Modules/xHttpService/xHttpService.csproj" />
<ProjectReference Include="../Modules/xIdentityHelper/xIdentityHelper.csproj" />
</ItemGroup>
<!-- Dependencies -->
<ItemGroup>
<PackageReference Include="OllamaSharp" Version="5.4.25" />
<PackageReference Include="Microsoft.SemanticKernel" Version="1.65.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.11" />
<PackageReference Include="IdentityModel.AspNetCore.OAuth2Introspection" Version="5.0.0" />
</ItemGroup>
@@ -48,11 +52,4 @@
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
<!-- Ef Core -->
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
</Project>