Extensions0121.MudBlazor 0.3.0

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

MudBlazor.Extensions0121

Overview

MudBlazor.Extensions0121 is a component library of commonly used custom components with MudBlazor, services or other types of code.

Getting Started

Add the following line to the startup services of your project:

services.AddMudBlazorExtensions0121();

Add the following line to end of the body element contents:

<script src="_content/Extensions0121.MudBlazor/MudBlazor.Extensions0121.js"></script>

Components & Services

Processing

Add the following line to the mainlayout.razor of your project:

	<Processing/>

Google ReCaptcha

Setup

Add an additional line to the end of the body element contents where reCAPTCHA_site_key is replace with your key:

<script src="https://www.google.com/recaptcha/api.js?render=reCAPTCHA_site_key"></script>

Add the using statement to _imports.razor, the component using the service or a service requiring this service:

	using MudBlazor.Extensions0121.GRecaptchaV3

When applying the services on startup, you must also pass in the Google ReCaptcha Site Key and Secret Key.

 services.AddMudBlazorExtensions0121(opt => opt.GRecaptchaV3SiteKey = "YourSecret");

Add the following line to the mainlayout.razor of your project:

	<GRecaptchaV3/>
Usage

Client side, inject the service into your component or service and use it like so:

@inject IGRecaptchaV3State GRecaptcha

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

@code {

    private void IncrementCount()
    {
        GRecaptcha.ExecuteRecaptcha("test");
    }
}

"Test" is the action and part of the server side validation. See Google ReCaptcha documentation for more information on implementing the server side.

License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
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

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
0.3.0 321 9/29/2025
0.2.2 258 7/11/2025
0.2.1 551 3/25/2025
0.2.0 508 3/24/2025
0.1.5 198 2/17/2025
0.1.4 166 1/22/2025
0.1.3 209 12/15/2024
0.1.2 151 12/15/2024
0.1.1 152 12/15/2024
0.1.0 156 12/11/2024