Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
dotnet-version: "10.0.x"

- name: Restore
run: dotnet restore
Expand Down
10 changes: 5 additions & 5 deletions BackendASP.NET/BackendASP.NET.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.11" />
<PackageReference Include="Otp.NET" Version="1.4.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
<PackageReference Include="BCrypt.Net-Next" Version="4.2.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.12" />
<PackageReference Include="Otp.NET" Version="1.4.1" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.23.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions BackendASP.NET/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY ["BackendASP.NET/BackendASP.NET.csproj", "BackendASP.NET/"]
RUN dotnet restore "BackendASP.NET/BackendASP.NET.csproj"
Expand Down
15 changes: 15 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,18 @@ EF does not migrate schema changes on an existing file). JWT secrets:
## Conventions

Conventional commits; `.vs/` and `*.sqlite` are gitignored.

## AI agents (Claude Code and friends)

These commands need **cliuno 2.2 or newer** (`npx cliuno@^2.2` fetches it).

- **Check the CLIuno skills first**: `npx cliuno@^2.2 skills status` — if any is
`missing`/`outdated`, run `npx cliuno@^2.2 skills install` (adds `.claude/skills/cliuno-*`:
the generator workflow, the scaffold guide, and the shared REST contract).
- **Generate resources, don't hand-write them**:
`npx cliuno@^2.2 make:resource Product --fields name:string,price:number,inStock:boolean`
creates `BackendASP.NET/Data/Product.cs`, `BackendASP.NET/Controllers/ProductsController.cs` and registers it in `BackendASP.NET/Data/Models.cs`, following this
template's conventions and the `{status, message, data}` contract. `--dry-run` previews,
re-running never duplicates registrations, `--force` overwrites.
- Single pieces: `make:model`, `make:controller`. `npx cliuno@^2.2 make` lists them.
- Then edit fields/business logic only, and run the gates above.
Loading