- Timestamp:
- 10/20/25 16:10:33 (11 months ago)
- Branches:
- master
- Children:
- 5aa102d, 9a57e89
- Parents:
- 0b16523
- Location:
- iknow-api
- Files:
-
- 9 added
- 1 deleted
- 4 edited
-
Controllers/UsersControllers.cs (added)
-
Controllers/WeatherForecastController.cs (deleted)
-
Data/AppDbContext.cs (added)
-
Data/AppDbContextFactory.cs (added)
-
Migrations/20251020130122_InitialCreate.Designer.cs (added)
-
Migrations/20251020130122_InitialCreate.cs (added)
-
Migrations/AppDbContextModelSnapshot.cs (added)
-
Models/Users.cs (added)
-
Program.cs (modified) (2 diffs)
-
Services/Implementations/UserService.cs (added)
-
Services/Interfaces/IUserService.cs (added)
-
appsettings.Development.json (modified) (1 diff)
-
appsettings.json (modified) (1 diff)
-
iknow-api.csproj (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Program.cs
r0b16523 r2859225 1 using Microsoft.EntityFrameworkCore; 2 1 3 var builder = WebApplication.CreateBuilder(args); 2 4 … … 15 17 } 16 18 19 builder.Services.AddDbContext<AppDbContext>(options => 20 options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection"))); 21 22 17 23 app.UseHttpsRedirection(); 18 24 -
iknow-api/appsettings.Development.json
r0b16523 r2859225 5 5 "Microsoft.AspNetCore": "Warning" 6 6 } 7 }, 8 "ConnectionStrings": { 9 "DefaultConnection": "Host=localhost;Port=5432;Database=myappdb;Username=myuser;Password=kodrum2025" 7 10 } 8 11 } -
iknow-api/appsettings.json
r0b16523 r2859225 6 6 } 7 7 }, 8 "AllowedHosts": "*" 8 "ConnectionStrings": { 9 "DefaultConnection": "Host=localhost;Port=5432;Database=myappdb;Username=myuser;Password=kodrum2025" 10 } 9 11 } -
iknow-api/iknow-api.csproj
r0b16523 r2859225 10 10 <ItemGroup> 11 11 <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.9" /> 12 <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.10"> 13 <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> 14 <PrivateAssets>all</PrivateAssets> 15 </PackageReference> 16 <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" /> 12 17 </ItemGroup> 13 18
Note:
See TracChangeset
for help on using the changeset viewer.
