LeverX.RazorComponents.Library
0.0.20
dotnet add package LeverX.RazorComponents.Library --version 0.0.20
NuGet\Install-Package LeverX.RazorComponents.Library -Version 0.0.20
<PackageReference Include="LeverX.RazorComponents.Library" Version="0.0.20" />
<PackageVersion Include="LeverX.RazorComponents.Library" Version="0.0.20" />
<PackageReference Include="LeverX.RazorComponents.Library" />
paket add LeverX.RazorComponents.Library --version 0.0.20
#r "nuget: LeverX.RazorComponents.Library, 0.0.20"
#:package LeverX.RazorComponents.Library@0.0.20
#addin nuget:?package=LeverX.RazorComponents.Library&version=0.0.20
#tool nuget:?package=LeverX.RazorComponents.Library&version=0.0.20
LX.RazorComponentsLibrary
LX.RazorComponentsLibrary is a collection of reusable Razor components designed to streamline the development of ASP.NET Core applications. This library provides a set of pre-built components and models that can be easily integrated into your projects.
Features
- Reusable Razor components
- Easy integration with ASP.NET Core
- Customizable and extensible components
- Supports .NET 8.0
Getting Started
Prerequisites
- .NET 8.0 or later
- Visual Studio 2022 or later
Installation
You can install the LX.RazorComponentsLibrary via NuGet Package Manager:
dotnet add package LeverX.RazorComponents.Library --version 0.0.16
Usage
Using Components
You can use the components provided by the library in your Razor pages or components. For example:
@using LX.RazorComponents.Library.Components
@using LX.RazorComponents.Library.Models
...
<AppsButtonComponent Apps="_apps"></AppsButtonComponent>
Where AppsButtonComponent takes dictionary as a parameter . For example:
Dictionary<string, AppDescription> _apps = new()
{
{
"Name of the application",
new AppDescription( new AccessRules { Groups = ["/Group of acessibility"] },
"link to logo",
"Name of the application",
"Link to the application")
},
};
.NET 10 / MudBlazor 9 migration
Version 0.0.20 targets .NET 10 and MudBlazor 9. The feedback dialog now uses IMudDialogInstance and the asynchronous IDialogService.ShowAsync API. Applications consuming LXAppFeedbackButton must register MudBlazor services and render a MudDialogProvider.
| Product | Versions 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.10)
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- MudBlazor (>= 9.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.