Nano.App.Web 10.0.0-preview1

This is a prerelease version of Nano.App.Web.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Nano.App.Web --version 10.0.0-preview1
                    
NuGet\Install-Package Nano.App.Web -Version 10.0.0-preview1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nano.App.Web" Version="10.0.0-preview1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nano.App.Web" Version="10.0.0-preview1" />
                    
Directory.Packages.props
<PackageReference Include="Nano.App.Web" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nano.App.Web --version 10.0.0-preview1
                    
#r "nuget: Nano.App.Web, 10.0.0-preview1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nano.App.Web@10.0.0-preview1
                    
#:package 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.
#addin nuget:?package=Nano.App.Web&version=10.0.0-preview1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Nano.App.Web&version=10.0.0-preview1&prerelease
                    
Install as a Cake Tool

Nano.App.Web

Build and Deploy NuGet NuGet

Nano Web application.

⚠️ Experimental — proceed with caution.


Table of Contents

Summary

Extends the API application with built-in support for Razor Pages and Blazor through registered services and middleware.

⚠️ Before proceeding, it is highly recommended to familiarize yourself generally with Nano Applications.

Registration

First install the Nano.App.Web NuGet package.

dotnet add package Nano.App.Web;

Then, to create a NanoWebApplication simply add the following code to program.cs.

NanoWebApplication<TRoot>
    .ConfigureApp()
    .ConfigureServices(x =>
    {
        // Your services...
    })
    .Build()
    .Run();

Register your custom services in the ConfigureServices(x => { }) method to extend Nano with additional functionality or integrations.

Configuration

The App section in the configuration controls application-level behavior, similar to the API application.
Currently, the web application does not add any additional configuration options beyond those available in the API application.

📖 Learn more about Nano API Configuration.

Razor

Coming...

Blazor

Coming...

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
10.0.0-preview2 63 4/25/2026
10.0.0-preview1 67 4/24/2026

- .NET 10 support.
- Comprehensive rewrite with performance optimizations, improvements, and bug fixes.
- Not compatible with previous versions of Nano.