Marqdouj.DotNet.Web.Components 10.2.0

Prefix Reserved
There is a newer version of this package available.
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
                    
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="Marqdouj.DotNet.Web.Components" Version="10.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Marqdouj.DotNet.Web.Components" Version="10.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Marqdouj.DotNet.Web.Components" />
                    
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 Marqdouj.DotNet.Web.Components --version 10.2.0
                    
#r "nuget: Marqdouj.DotNet.Web.Components, 10.2.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 Marqdouj.DotNet.Web.Components@10.2.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=Marqdouj.DotNet.Web.Components&version=10.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Marqdouj.DotNet.Web.Components&version=10.2.0
                    
Install as a Cake Tool

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

  • Css
    • Guid.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 BindValue string property for non-string values where binding requires a string. Designed for use with Blazor @bind-Value.
  • XmlDocReader. Provides functionality to read and extract XML documentation comments from an assembly's XML documentation file.
  • XmlUIModel. Wrapper to UIModel that works with the XmlDocReader to update comments.

Release Notes

  • 10.2.0

    • Obsolete 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.0

    • UIModelValue.BindValueFlags (New). Applies to BindValue.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 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. 
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 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.

Version Downloads Last Updated
10.5.0 92 3/23/2026
10.4.0 111 3/16/2026
10.3.0 103 3/15/2026
10.2.1 120 2/14/2026
10.2.0 147 2/12/2026
10.1.2 200 1/16/2026
10.1.1 187 1/4/2026
10.1.0 553 11/21/2025
10.0.0 311 11/12/2025