Uwn.Razor 9.1.3

dotnet add package Uwn.Razor --version 9.1.3
                    
NuGet\Install-Package Uwn.Razor -Version 9.1.3
                    
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="Uwn.Razor" Version="9.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Uwn.Razor" Version="9.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Uwn.Razor" />
                    
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 Uwn.Razor --version 9.1.3
                    
#r "nuget: Uwn.Razor, 9.1.3"
                    
#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 Uwn.Razor@9.1.3
                    
#: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=Uwn.Razor&version=9.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Uwn.Razor&version=9.1.3
                    
Install as a Cake Tool

Uwn.Razor

A Razor Class Library for re-usable components, and Bootstrap wrappers.

Information Value
Project Type Razor Class Library
Framework .NET 9.0
Current Version 9.1.3
Author Chris B.
Publisher UltimateWisdom.Net
License MIT License

Documentation and examples can be found at:
https://razor-demo.ultimatewisdom.net/

BREAKING CHANGES from v9.1.*

  1. Property Style is now part of Appearance
  2. Property DropShadow is now part of Decorations, which is part of Appearance
  3. Properties Delay and HasCloseButton are now part of DismissOptions
  4. Most Content / Text properties have been changed to the Content type, which includes an optional icon
  5. Moved component ExternalLink from Bootstrap to Common

Patch v9.1.1

  1. Fixed an error where fragments of Card and ModalDialog could be rendered despite IsVisible=false

New and Improved in v9.1.0

  1. Added ViewModels for all components
  2. Added Providers for (almost) all components - see below
  3. The FragmentProvider class is now public, and provides methods for FontAwesome handling, and content formatting
  4. The rounded Bootstrap CSS class is now available through the Appearance.Decorations property
  5. Text and Time elements of the WaitIndicator now have an individual id each, derived from the Id of the WaitIndicator
  6. Added static class IconNames for commonly used icon names
  7. Added OnDismissed callback to ModalDialog
  8. Added Header to Alert

9.1.1 Minor Bugfixes

9.1.2 Added Placement parameter to Providers; bugfixes

9.1.3 Added missing FontAwesome IconPacks and Styles

Component Providers

Component Providers have been added for almost all components (doing this for Tables and their sub-components makes no sense).

Providers allow you to cascade components, and access their view models in your embedded components.

For example, in your MainLayout.razor, you could do this:

<WaitIndicatorProvider>
    <AlertProvider>
        <CardProvider>
            @Body
        </CardProvider>
    </AlertProvider>
</WaitIndicatorProvider>

And then do this in your own components:

<button type="button" @onclick="OnButtonClickAsync">Do something</button>

@code {
    [CascadingParameter] public WaitIndicatorViewModel WaitIndicator { get; set; } = default!;
    [CascadingParameter] public AlertViewModel Alert { get; set; } = default!;
    [CascadingParameter] public CardViewModel Card { get; set; } = default!;

    private async Task OnButtonClickAsync()
    {
        await WaitIndicator.ShowAsync();
        try
        {
            await SomeActionAsync();
            await Alert.ShowSuccessAsync("Success!");
        }
        catch (Exception ex)
        {
            await Card.ShowExceptionAsync(ex);
        }
        await WaitIndicator.HideAsync();
    }
}

EOF

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on Uwn.Razor:

Package Downloads
Uwn.Razor.Common

UltimateWisdom.Net Common Razor Class Library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.1.3 117 3/30/2026
9.1.2 113 3/16/2026
9.1.1 114 1/22/2026
9.1.0 109 1/20/2026
9.0.3 194 10/20/2025
9.0.2 196 10/14/2025
9.0.1 195 8/20/2025
9.0.0 188 8/19/2025