Changeset e294f7d for ChapterX.Infrastructure
- Timestamp:
- 03/19/26 20:55:06 (4 months ago)
- Branches:
- main
- Children:
- b62cefc
- Parents:
- 877c13c
- Location:
- ChapterX.Infrastructure
- Files:
-
- 1 added
- 2 edited
-
ChapterX.Infrastructure.csproj (modified) (1 diff)
-
DependencyInjection.cs (modified) (2 diffs)
-
Services/JwtTokenService.cs (added)
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Infrastructure/ChapterX.Infrastructure.csproj
r877c13c re294f7d 8 8 9 9 <ItemGroup> 10 <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" /> 10 11 <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0"> 11 12 <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> -
ChapterX.Infrastructure/DependencyInjection.cs
r877c13c re294f7d 1 1 using ChapterX.Application.Abstractions; 2 using ChapterX.Application.Auth; 2 3 using ChapterX.Domain.Repositories; 3 4 using ChapterX.Infrastructure.Data.DataContext; 4 5 using ChapterX.Infrastructure.Repositories; 6 using ChapterX.Infrastructure.Services; 5 7 using Microsoft.EntityFrameworkCore; 6 8 using Microsoft.Extensions.Configuration; … … 17 19 18 20 services.AddScoped<IApplicationDbContext>(sp => sp.GetRequiredService<ApplicationDbContext>()); 21 services.AddScoped<IJwtTokenService, JwtTokenService>(); 19 22 20 23 services.AddScoped<IUserRepository, UserRepository>();
Note:
See TracChangeset
for help on using the changeset viewer.
