Skip to main content

ASP.NET Core on Kubernetes

ASP.NET Core logoASP.NET Core logo

ASP.NET Core Web APIs with Entity Framework Core.

larakube dotnet:new
🚧 Not deployable yet🏘️ Joins the Plex Commons once verifiedC#Scaffolds via official CLI

dotnet:new starts an ASP.NET Core 9.0 Web API with Microsoft's own template, set up with Entity Framework Core and the services you pick.

Not deployable yet

dotnet:new creates the app and its Kubernetes manifests, but there's no production image for it yet: it warns No production image template for .NET Core yet and skips the Dockerfile. With no image, larakube up has nothing to run and cloud:deploy has nothing to ship. NestJS is the first framework through this path, and the rest follow one at a time.

🚀 Create a project

larakube dotnet:new api

LaraKube CLI runs dotnet new webapi inside the .NET 9 SDK container, so you don't need the SDK on your machine, then asks:

ChoiceOptionsWith --fast
Database (Entity Framework Core)PostgreSQL (recommended, via Npgsql), MySQL (Pomelo), MariaDBPostgreSQL
CacheRedis (recommended), MemcachedRedis
Object storageNone, MinIO (recommended), SeaweedFS, GarageMinIO
SearchNone, Meilisearch, TypesenseNone

🧱 What your app is set up for

PieceDetail
RuntimeASP.NET Core 9.0, listening on port 8080
Migrationsdotnet ef database update — set up in the project, not yet run on deploy
Health check/healthz

🏘️ Plex Commons

.NET apps will join the shared Plex Commons for their database, cache and storage once this scaffolder is verified.

➡️ Next