Your C# ViewModels, rendered by React, Vue, Svelte or Angular.
Runic generates a typed TypeScript client for each .NET View and opens your frontend in a native window on Windows, macOS and Linux.
dnx Runic.Create --prerelease Needs the .NET 10 SDK. The creator asks for your frontend, package manager, window host and MVVM library.
public sealed class CounterViewModel : ReactiveObject{ private int _count; private int _step = 1; public CounterViewModel() => IncrementCommand = ReactiveCommand.Create( () => { Count += Step; }); public int Count { get => _count; private set => this.RaiseAndSetIfChanged(ref _count, value); } public int Step { get => _step; set => this.RaiseAndSetIfChanged(ref _step, value); } public ReactiveCommand<RxVoid, RxVoid> IncrementCommand { get; }}public sealed partial class CounterView : ReactiveRunicView<CounterViewModel>;Generated client
export function CounterPage( { page }: { page: CounterPageReference },) { const { state, client } = useView(page); const increment = useCommand(() => client?.increment()); const setStep = useCommand( (step: number) => client?.setStep(step)); return <section> <p className="count">{state?.count ?? "…"}</p> <select value={state?.step ?? 1} onChange={event => void setStep.run(Number(event.currentTarget.value))}> {steps.map(step => <option key={step}>{step}</option>)} </select> <button onClick={() => void increment.run()}> Increment </button> </section>;}Counter View
0
Use one part, or all of them.
Each product has its own packages and guide. Official integrations connect them, and no product's core depends on another's.
Runic SDK
Released together, usable apart.
-
Runic Application
Declare Windows, Views and navigation over your .NET ViewModels. The build generates a typed TypeScript client for each View, and your frontend framework renders it.
-
Runic Desktop
Open the frontend in a native window through WebView2, WKWebView or WebKitGTK, with file dialogs, notifications and other desktop services.
-
Runic Assets
Package static files into one validated manifest, then serve it embedded, from a development source or from a server.
Runic Translations
Its own repository and release cycle.
-
Runic Translations
Write messages in MessageFormat 2 and call them through generated, typed C# and TypeScript APIs. A desktop editor is included.
Runic Command Line
Its own repository and release cycle.
-
Runic Command Line
Turn typed C# methods into a NativeAOT command-line application with help, validation and shell completion.
A native window on each platform.
Runic Desktop uses the WebView the system already provides, so your application does not ship a browser engine of its own.
- Windows
- WebView2
- Windows 11 or a supported Windows 10, with the Edge WebView2 Runtime
- macOS
- WKWebView
- macOS 15 or newer
- Linux
- WebKitGTK
- GTK 3 with WebKitGTK 4.1, or GTK 4.12 with WebKitGTK 6.0
CI verifies win-x64, osx-arm64 and linux-x64. Publish with NativeAOT for one native executable per platform, or choose CS-WebUI to open the frontend in a browser window instead. See every supported platform.
Start from what you have.
- A new desktop application Create a project from the template, run it, and change the counter into your first screen.
- An existing WPF application Keep your shell and replace one view at a time with a web View driven by the same ViewModel.
- A command-line tool Write commands as typed C# methods and publish a NativeAOT executable.
- Messages to translate Compile MessageFormat 2 files into typed APIs for .NET, Vite or SvelteKit.
Prefer to read code first? The SDK examples include a first window, several windows, nested Views, DynamicData collections and WPF hosting.