Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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...