softinter-chiangrai/up-ai-skill-training
d1-01-dotnet-webapi-init
Scaffolds the up-api .NET 10 Web API project from the default template. Adds CORS (allow all origins). CRUD drill Day 1 step 1. Trigger: 'day1 step1', 'create up-api'.
Use judgment
Installs
47
Stars
—
Security
No audit
Freshness
Unknown
Updated
—
First seen Aug 7, 2026
Installation
Project
Global
Entire repo
Entire repo (global)
$
npx skills add softinter-chiangrai/up-ai-skill-training --skill d1-01-dotnet-webapi-init
Copy
SKILL.md
Day 1 · Step 1 — Create up-api
```Run bash dotnet new webapi -n up-api
Default template only — no packages, no `dotnet run`. Verify/add to `Program.cs`:
builder.Services.AddControllers(); builder.Services.AddCors(options => { options.AddDefaultPolicy(policy => { policy.AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader(); }); });
var app = builder.Build();
app.UseCors(); app.MapControllers();