NetWasmMvc.SDK 1.0.6

<Sdk Name="NetWasmMvc.SDK" Version="1.0.6" />
                    
For projects that support Sdk, copy this XML node into the project file to reference the package.
#:sdk NetWasmMvc.SDK@1.0.6
                    
#:sdk directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.

🧬 NetWasmMvc.SDK

The first complete ASP.NET MVC runtime for WebAssembly.

Write MVC applications with Controllers, Views, SignalR Hubs, EF Core SQLite, and Identity — all running entirely in the browser. No server required.

Powered by Cepha — inspired by Physarum polycephalum, the intelligent slime mold that solves complex problems through decentralized networks.

✨ Features

Feature Description
🎮 MVC Controllers Full ASP.NET-style controllers with [Route] attributes
📄 Razor Views .cshtml templates with @ViewBag, @Model, @foreach
📡 SignalR Hubs Real-time communication (WebSocket-style) in WASM
🗄️ EF Core SQLite Full database with Entity Framework — in the browser
🔐 Identity User management, roles, authentication — client-side
🌐 SPA Router Automatic client-side navigation, history support
🚀 CephaKit Optional Node.js WASM backend server

🚀 Quick Start

1. Create a new project

<Project Sdk="NetWasmMvc.SDK">
</Project>

2. Write your Program.cs

var app = CephaApp.Create();
await app.RunAsync();

3. Add a Controller

using WasmMvcRuntime.Abstractions;

public class HomeController : Controller
{
    [Route("/")]
    [Route("/home/index")]
    public ViewResult Index()
    {
        ViewBag["Title"] = "Hello, Cepha!";
        return View();
    }
}

4. Add a View

Create Views/Home/Index.cshtml:

<h1>@ViewBag.Title</h1>
<p>Running in WebAssembly! 🧬</p>

5. Build & Run

dotnet build
# Serve wwwroot with any static file server

📦 What's Included

The SDK bundles everything — zero additional PackageReferences needed:

  • WasmMvcRuntime.Abstractions — Base classes (Controller, Hub, Route, ViewResult)
  • WasmMvcRuntime.Core — MVC Engine, SignalR Engine, View Rendering
  • WasmMvcRuntime.Identity — User/Role management
  • WasmMvcRuntime.Data — EF Core SQLite for WASM
  • WasmMvcRuntime.App — Shared Controllers, Hubs, Models, Repositories
  • JsInterop[JSImport] bindings (DOM, storage, navigation)
  • JsExports[JSExport] handlers (Navigate, Forms, SignalR)
  • CephaApp — One-call bootstrap builder
  • main.js — Default SPA runtime (override with your own)
  • Deployment templates — Local, Cloudflare Pages, Azure Static Web Apps

🏗️ Architecture

Browser
  └── WebAssembly (.NET 10)
       ├── MVC Engine (route → controller → view)
       ├── SignalR Engine (real-time hubs)
       ├── EF Core + SQLite (IndexedDB-backed)
       ├── Identity (auth & roles)
       └── JS Interop (DOM, navigation, storage)

Built with 🧬 by sbay-dev

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 96 2/22/2026
1.0.5 93 2/21/2026
1.0.4 85 2/21/2026
1.0.3 90 2/21/2026
1.0.2 90 2/21/2026
1.0.1 92 2/18/2026
1.0.0 106 2/16/2026