Api/Netina.Api/Netina.Api.csproj

141 lines
7.2 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk.Web">
2023-12-16 20:25:12 +03:30
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
Refactor and enhance product and order handling - Updated `DiscountActionDialogBoxViewModel` and `FastProductCreateDialogBoxViewModel` to create command objects directly from properties and improved error handling. - Added meta tag management UI and logic in `ProductActionDialogBox.razor` and `ProductActionDialogBoxViewModel`. - Increased max file read stream size to 8 MB in `StorageDialogBoxViewModel`. - Incremented `AssemblyVersion` and `FileVersion` to `1.7.20.34` in `Netina.AdminPanel.PWA.csproj`. - Updated `BrandsPage.razor` and `BrandsPageViewModel` for pagination and service injection. - Updated `CategoriesPageViewModel` to create command objects directly from properties. - Updated `ProductsPage.razor` for service injection and added a button for product details. - Updated `ICrudApiRest` and `ICrudDtoApiRest` interfaces to use generic `Create` methods. - Updated `appsettings.Development.json` for `StorageBaseUrl` and commented out `IsShop`. - Added new project `AppHost.csproj` targeting .NET 8.0 with Aspire hosting. - Added new `appsettings.Development.json` and `appsettings.json` for logging. - Added new `Program.cs` to create and run a distributed application. - Added new `launchSettings.json` for application launch settings. - Added `Extensions.cs` for common .NET Aspire services. - Added new project `ServiceDefaults.csproj` for shared service defaults. - Introduced `ProductMetaTag` class and related migration for meta tag handling. - Updated `OrderController.cs` for additional authorization requirements. - Updated target frameworks to `net8.0` in various projects. - Enhanced `SiteMapService.cs` to include brand site maps. - Added new properties to DTOs for customer and meta tag handling. - Enhanced `Product` class with meta tag management methods. - Refactored `OrderMapper.g.cs` and `ProductMapper.g.cs` for improved mapping logic. - Enhanced command handlers to manage meta tags. - Added `ICurrentUserService` for user permissions in query handlers. - Refactored `StorageService.cs` for paginated storage file fetching.
2024-12-06 17:37:41 +03:30
<AssemblyVersion>1.7.20.34</AssemblyVersion>
<FileVersion>1.7.20.34</FileVersion>
2023-12-16 20:25:12 +03:30
</PropertyGroup>
<ItemGroup>
2024-09-24 14:03:16 +03:30
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.8" />
2023-12-16 20:25:12 +03:30
<PackageReference Include="Asp.Versioning.Http" Version="8.1.0" />
2023-12-16 20:25:12 +03:30
<PackageReference Include="Ben.BlockingDetector" Version="0.0.4" />
<PackageReference Include="Carter" Version="8.1.0" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="MediatR.Extensions.Autofac.DependencyInjection" Version="12.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8">
2023-12-16 20:25:12 +03:30
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
2024-09-24 14:03:16 +03:30
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8">
2023-12-16 20:25:12 +03:30
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
2024-09-24 14:03:16 +03:30
<PackageReference Include="Autofac" Version="8.1.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
<PackageReference Include="Elmah.Io.AspNetCore.Serilog" Version="5.1.23" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.8" />
2023-12-16 20:25:12 +03:30
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
2023-12-16 20:25:12 +03:30
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="Sentry.Serilog" Version="4.11.0" />
2024-08-05 23:23:32 +03:30
<PackageReference Include="Serilog" Version="4.0.1" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
2023-12-16 20:25:12 +03:30
<PackageReference Include="Serilog.Sinks.PostgreSQL" Version="2.3.0" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="Serilog.Sinks.Seq" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.ElmahIo" Version="5.1.43" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
2024-02-07 01:12:05 +03:30
<PackageReference Include="StackExchange.Redis.Extensions.AspNetCore" Version="10.2.0" />
<PackageReference Include="StackExchange.Redis.Extensions.Core" Version="10.2.0" />
<PackageReference Include="StackExchange.Redis.Extensions.Newtonsoft" Version="10.2.0" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.8.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.2" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
2024-09-24 14:03:16 +03:30
<PackageReference Include="System.Drawing.Common" Version="8.0.8" />
2023-12-16 20:25:12 +03:30
</ItemGroup>
<ItemGroup>
<Using Include="Asp.Versioning" />
<Using Include="AspNetCoreRateLimit" />
<Using Include="AspNetCoreRateLimit.Redis" />
<Using Include="Autofac" />
<Using Include="Autofac.Extensions.DependencyInjection" />
<Using Include="FluentValidation" />
<Using Include="MediatR.Extensions.Autofac.DependencyInjection" />
<Using Include="MediatR.Extensions.Autofac.DependencyInjection.Builder" />
<Using Include="Microsoft.AspNetCore.ResponseCompression" />
2024-04-16 20:01:34 +03:30
<Using Include="Netina.Api.WebFramework.Swagger" />
<Using Include="Netina.Common.Extensions" />
<Using Include="Netina.Common.Models" />
<Using Include="Netina.Common.Models.Api" />
<Using Include="Netina.Common.Models.Entity" />
<Using Include="Netina.Common.Models.Exception" />
<Using Include="Netina.Common.Models.Mapper" />
<Using Include="Netina.Core" />
<Using Include="Netina.Core.Abstracts" />
<Using Include="Netina.Core.BaseServices.Abstracts" />
<Using Include="Netina.Core.CoreServices.CommandQueries.Commands" />
2024-04-16 20:01:34 +03:30
<Using Include="Netina.Core.Models.Api" />
<Using Include="Netina.Core.Utilities" />
<Using Include="Netina.Domain" />
<Using Include="Netina.Domain.CommandQueries.Commands" />
<Using Include="Netina.Domain.CommandQueries.Queries" />
<Using Include="Netina.Domain.Dtos.LargDtos" />
<Using Include="Netina.Domain.Dtos.RequestDtos" />
<Using Include="Netina.Domain.Dtos.SmallDtos" />
<Using Include="Netina.Domain.Entities.Discounts" />
<Using Include="Netina.Domain.Entities.ProductCategories" />
<Using Include="Netina.Domain.Entities.Users" />
<Using Include="Netina.Domain.Mappers" />
<Using Include="Netina.Domain.Models.Claims" />
<Using Include="Netina.Domain.Models.Settings" />
<Using Include="Netina.Infrastructure" />
<Using Include="Netina.Infrastructure.Models" />
<Using Include="Netina.Repository" />
<Using Include="Netina.Repository.Extensions" />
<Using Include="Netina.Repository.Models" />
<Using Include="Netina.Repository.Repositories.Base.Contracts" />
2023-12-16 20:25:12 +03:30
<Using Include="Carter" />
<Using Include="Mapster" />
<Using Include="MediatR" />
<Using Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<Using Include="Microsoft.AspNetCore.Authorization" />
<Using Include="Microsoft.AspNetCore.Identity" />
<Using Include="Microsoft.AspNetCore.Mvc" />
<Using Include="Microsoft.AspNetCore.Mvc.Authorization" />
<Using Include="Microsoft.AspNetCore.Mvc.Filters" />
<Using Include="Microsoft.EntityFrameworkCore" />
<Using Include="Microsoft.Extensions.Primitives" />
<Using Include="Microsoft.IdentityModel.Tokens" />
<Using Include="Newtonsoft.Json" />
<Using Include="Newtonsoft.Json.Serialization" />
<Using Include="Serilog" />
<Using Include="Serilog.Events" />
<Using Include="Serilog.Sinks.ElmahIo" />
<Using Include="Serilog.Sinks.SystemConsole.Themes" />
2024-04-16 20:01:34 +03:30
<Using Include="Netina.Api.WebFramework.Bases" />
<Using Include="Netina.Api.WebFramework.Configurations" />
<Using Include="Netina.Api.WebFramework.MiddleWares" />
2023-12-16 20:25:12 +03:30
<Using Include="StackExchange.Redis.Extensions.Core.Configuration" />
<Using Include="StackExchange.Redis.Extensions.Newtonsoft" />
<Using Include="System.Diagnostics" />
<Using Include="System.IdentityModel.Tokens.Jwt" />
<Using Include="System.IO.Compression" />
<Using Include="System.Linq.Expressions" />
<Using Include="System.Net" />
<Using Include="System.Security.Claims" />
<Using Include="System.Text" />
2024-04-16 20:01:34 +03:30
<Using Include="Netina.Common.Models;" />
2023-12-16 20:25:12 +03:30
</ItemGroup>
<ItemGroup>
2024-04-16 20:01:34 +03:30
<ProjectReference Include="..\Netina.Infrastructure\Netina.Infrastructure.csproj" />
2023-12-16 20:25:12 +03:30
</ItemGroup>
<ItemGroup>
2024-01-01 17:00:31 +03:30
<Folder Include="wwwroot\assets\vendor\bootstrap\css\" />
</ItemGroup>
2023-12-16 20:25:12 +03:30
</Project>