Picea.Abies.Templates 2.2.0

dotnet new install Picea.Abies.Templates::2.2.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Picea Abies Templates

Templates for creating MVU-style web applications with the Abies framework.

Installation

dotnet new install Picea.Abies.Templates::1.0.*-*

Available Templates

Template Short Name Description
Abies Browser Application abies-browser A minimal Abies Browser MVU application with counter example (WebAssembly)
Abies Browser Empty abies-browser-empty An empty Abies Browser MVU application (WebAssembly)
Abies Server Application abies-server A minimal Abies Server MVU application with counter example (server-side rendering)

Usage

Create a new Abies application

# Create a new WASM app with the counter example
dotnet new abies-browser -n MyApp

# Create a new server-rendered app with the counter example
dotnet new abies-server -n MyApp

# Create an empty WASM app
dotnet new abies-browser-empty -n MyApp

Run the application

# Browser templates (abies-browser / abies-browser-empty)
cd MyApp
dotnet run --project MyApp.Host

# Server template (abies-server)
cd MyApp
dotnet run

For browser templates, if you run directly from MyApp.Host, build the app project first so the host can serve the generated AppBundle:

cd MyApp/MyApp.Host
dotnet build ../MyApp.csproj
dotnet run

Then open your browser to the URL shown in the terminal (typically https://localhost:7xxx).

Render Modes

Abies supports four render modes. These templates cover the two interactive modes:

Mode Template Description
InteractiveWasm abies-browser MVU loop runs in the browser via .NET WebAssembly
InteractiveServer abies-server MVU loop runs on the server, patches sent via WebSocket
Static Server-rendered HTML, no interactivity
InteractiveAuto Starts as server, transitions to WASM when ready

Both templates use the same Program interface — application code is identical across render modes. Only the hosting entry point differs.

Template Options

abies-browser / abies-server

Option Description Default
-n, --name The name for the output being created Current directory name
-o, --output Location to place the generated output Current directory
--Framework Target framework (net10.0) net10.0

What's Included

abies-browser

  • Counter example demonstrating the MVU pattern (increment, decrement, reset)
  • WebAssembly configuration with trimming for Release builds
  • index.html with Abies design system CSS
  • References Picea.Abies.Browser package

abies-server

  • Counter example demonstrating the MVU pattern (increment, decrement, reset)
  • ASP.NET Core server with WebSocket support
  • Server-side rendering with binary DOM patches
  • Abies design system CSS
  • References Picea.Abies.Server.Kestrel package

Debugger Defaults (Important)

Browser runtime templates (abies-browser, abies-browser-empty) show the debugger panel by default in Debug builds.

To force-disable it explicitly before Runtime.Run(...):

#if DEBUG
Picea.Abies.Debugger.DebuggerConfiguration.ConfigureDebugger(
    new Picea.Abies.Debugger.DebuggerOptions { Enabled = false });
#endif

Release builds can keep this behind #if DEBUG to avoid shipping debug UI setup code.

Server template (abies-server) enables the browser debugger panel by default in local debug startup.

Hide panel options:

  • URL query: ?abies-debugger=off
  • Meta tag: <meta name="abies-debugger" content="off">
  • Global config: window.__abiesDebugger = { enabled: false }

To disable server-side debugger runtime in Debug startup, set ABIES_DEBUG_UI=0.

In Release builds, debugger panel assets are absent. Use server logs, browser DevTools, and OpenTelemetry traces.

Out-of-Box Quality Expectations

A fresh template project should work without manual fixes:

  • dotnet run starts the app.
  • dotnet build succeeds.
  • dotnet publish -c Release succeeds.

If any of these fail for newly generated projects, treat it as a template quality regression.

Learn More

License

Apache 2.0

  • .NETStandard 2.0

    • 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
2.2.0 88 6/1/2026
2.1.0 94 6/1/2026
2.0.8-gf7b9f29687 108 5/7/2026
2.0.7-g786c107dbc 115 5/7/2026
2.0.4 128 5/7/2026
2.0.4-g5b982117ec 116 5/7/2026
2.0.3-gf8fe776ed7 119 5/6/2026
2.0.2-g6088645a56 120 5/6/2026
2.0.1-ga6695fef37 109 5/6/2026
1.0.513-rc-0002-g9dee5da780 116 5/6/2026
1.0.511-rc-0002-g6cb75e2918 113 5/6/2026
1.0.510-rc-0002-gf9913b0664 142 5/4/2026
1.0.509-rc-0002-g64c46e36be 129 5/1/2026
1.0.506-rc-0002-gc2cce3124c 129 5/1/2026
1.0.504-rc-0002-g3f8a2027c2 152 4/16/2026
1.0.503-rc-0002-g5dd69b6733 157 4/14/2026
1.0.502-rc-0002-geca3654254 161 4/13/2026
1.0.497-rc-0002-g7d43b9927d 162 4/10/2026
1.0.495-rc-0002-g904bb05144 154 4/8/2026
1.0.494-rc-0002-g45c5c9fcff 150 4/8/2026
Loading failed