// vertical-slice generator  ·  blazor + maui

Generate a full vertical slice of your .NET app.

VanillaSlice scaffolds the entire slice — UI, contract, domain, and data — as plain C# you own and tweak. It's code that generates code: no runtime dependency, no lock-in, nothing to monetize.

100% free/ MIT licensed/ full source/ no lock-in

// one generated feature = one slice

Products / ProductListing
ProductListing.razor / .xaml UI
ProductListingViewModel.cs state
ProductListingClient.cs http
ProductListingController.cs api
ProductListingService.cs logic
UI → contract → domain → data owned end-to-end
100% free · MIT licensed · full source included · no runtime dependency · nothing to monetize, ever

// why vertical slices

Clean architecture, organized as vertical slices.

Instead of scattering one feature across controller, service, and UI folders, each slice owns its whole vertical: UI → contract → domain → data. SOLID by design — features stay independent, easy to test, and safe to change.

structure

Self-contained slices

Every feature ships with its Razor/XAML UI, ViewModel, typed client, controller, and server service — owned end-to-end.

principle

SOLID by default

The factory enforces structure through interfaces and safe stubs, so you write domain logic — not plumbing.

longevity

Absorbs .NET evolution

Thin, feature-centric slices keep regressions low and let your codebase grow with the platform and AI co-authoring.

// pipeline

From idea to a runnable solution in three steps.

01

Configure in the wizard

Pick your platform (Blazor Web or Web + MAUI), UI framework, database, and auth. No setup, no install.

02

Generate the solution

Download a complete, pre-wired solution — projects, DI, routing, endpoints, and sample CRUD slices included.

03

Own & tweak every line

It's plain C#. Add fields, implement queries, and ship. There's no SDK between you and your code.

// what you get

Batteries included, your choice of stack.

platformready

Blazor Web

Server-side and WebAssembly rendering with configurable render modes.

platformready

MAUI Hybrid

Cross-platform mobile from the same shared Razor components.

platformready

MAUI Native

Native XAML frontend over the same shared backend slices.

uiready

UI Frameworks

Bootstrap 5, Microsoft Fluent UI, and Tailwind CSS implemented out of the box.

dataready

Database & EF Core

SQL Server with Entity Framework Core — migrations, seeding, and the repository pattern.

securityready

Auth & Security

ASP.NET Core Identity, authorization policies, and JWT token support.

// the promise

It's code that generates code — then gets out of your way.

01

No runtime SDK, package, or service dependency — the generated code is fully standalone.

02

MIT licensed, full source on GitHub — fork it, audit it, change anything.

03

Use the generated code commercially with zero obligations.

04

No accounts, no telemetry paywall, no "pro tier" — and no plan to add one.

// faq

Questions, answered.

Q Is VanillaSlice really free?

Yes. It is open-source under the MIT License, with the full source available on GitHub. There is no paid tier, no account, and no usage limit.

Q What is vertical slice architecture?

Vertical slice architecture organizes code by feature rather than by technical layer. Each slice contains everything one feature needs — UI, contracts, domain logic, and data access — so features stay independent and easy to change.

Q Do I depend on VanillaSlice at runtime?

No. VanillaSlice generates plain C# source code into your solution. Once generated, your project has no dependency on VanillaSlice — it runs entirely on standard .NET.

Q Can I use the generated code commercially?

Absolutely. The MIT License lets you use, modify, and distribute the generated code in commercial products with no obligations.

Q Will VanillaSlice ever be monetized?

No. The generated code is standalone and there is no runtime service to charge for. The project is open-source by design, with nothing to lock you in.

// ready

Generate your project.

Free, in your browser, no sign-up. You'll have a runnable solution in minutes.