Marqdouj.DotNet.Web.Components
10.2.0
Prefix Reserved
See the version list below for details.
dotnet add package Marqdouj.DotNet.Web.Components --version 10.2.0
NuGet\Install-Package Marqdouj.DotNet.Web.Components -Version 10.2.0
<PackageReference Include="Marqdouj.DotNet.Web.Components" Version="10.2.0" />
<PackageVersion Include="Marqdouj.DotNet.Web.Components" Version="10.2.0" />
<PackageReference Include="Marqdouj.DotNet.Web.Components" />
paket add Marqdouj.DotNet.Web.Components --version 10.2.0
#r "nuget: Marqdouj.DotNet.Web.Components, 10.2.0"
#:package Marqdouj.DotNet.Web.Components@10.2.0
#addin nuget:?package=Marqdouj.DotNet.Web.Components&version=10.2.0
#tool nuget:?package=Marqdouj.DotNet.Web.Components&version=10.2.0
DotNet.Web.Components
NOTES
A new DotNet.Web.JsInterop.Modules library
has been created that replaces the GeolocationService and ResizeObserverService.
Summary
C# Components, classes, and extensions I find useful in my .NET web-based projects.
Demo
A demo of this, and other of my DotNet packages, can be found here.
Features
Components
- SlideShow: Displays a list of images (i.e. Banner/Carousel).
Extensions
CssGuid.ToCssId(). Creates a valid css identifier from a Guid.
Enums
HtmlColorName. The basic 140 named colors.HtmlColorNameListItem. View model for a HtmlColorName.HtmlColorNameCollection. Manages a collection of view models.Extensions.HtmlColorName.ToHex(). Returns the Hex string for the HtmlColorName.
Services
GeolocationService.- Uses the Geolocation API services to get the current position.
- Configuration:
builder.Services.AddScoped<IGeolocationService, GeolocationService>();
- Use:
@inject IGeolocationService GeolocationService
JSLoggerService.- Logs messages to the browser Console.
- It is not an implementation of ILogger, but rather mimics most methods of ILogger as async ValueTask.
- Configuration:
builder.Services.AddJSLoggerService();
- Use:
@inject IJSLoggerService LoggerService
ResizeObserverService.- Scoped service to monitor html element resizing.
- JSInterop wrapper to the Html ResizeObserver.
- Configuration:
builder.Services.AddScoped<IResizeObserverService, ResizeObserverService>();
- Use:
@inject IResizeObserverService ResizeObserver
Classes
- UI Models
- Classes for UI presentation and element binding.
Implements a
BindValuestring property for non-string values where binding requires a string. Designed for use with Blazor @bind-Value.
- Classes for UI presentation and element binding.
Implements a
XmlDocReader. Provides functionality to read and extract XML documentation comments from an assembly's XML documentation file.XmlUIModel. Wrapper to UIModel that works with theXmlDocReaderto update comments.
Release Notes
10.2.0Obsolete Services. These items have been marked as Obsolete and are no longer maintained. Replaced by DotNet.Web.JsInterop.Modules.GeolocationService.ResizeObserverService.
- Update NuGet packages.
10.1.2-10.1.1- Update NuGet packages.
10.1.0UIModelValue.BindValueFlags (New). Applies toBindValue.Set.None. No change to processing value.UseDefaultSetValueForNull. Specifies that value types should use the Property.SetValue(null) method for null values.TreatEmptyStringAsNullForValueTypes. Specifies that empty string values should be treated as null when converting to value types.
10.0.0- Initial release.
| 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.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Marqdouj.DotNet.Web.Components:
| Package | Downloads |
|---|---|
|
Marqdouj.DotNet.Web.Components.FluentUI
C# components, classes, and extensions I find useful in my .NET FluentUI web-based projects |
GitHub repositories
This package is not used by any popular GitHub repositories.