Uwn.Blazor 10.26.7.3011
Uwn.Blazor
A common class and component library for Razor / Blazor.
Providers
AuthorizationPolicies
Provides common authorization policies:
- User
- Moderator
- Administrator
See Microsoft.AspNetCore.Authorization.AuthorizationPolicy.
IIdentityClaimProvider
An interface for providing claims for a user identity.
Services
AuthenticationEndpointRouteBuilderExtensions
Provides extension methods for Microsoft.AspNetCore.Routing.IEndpointRouteBuilder to add authentication endpoints for use with OpenIdConnect.
These include:
- ResetPassword
- SignUp
- SignIn
- Validate
- EditProfile
- SignOut
Validation also ensures the existance of the Identity in an Uwn.Authentication.AuthenticationDbContext.
ServiceCollectionExtensions
Provides extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection to add services for Razor.
Configuration is provided by Uwn.Blazor.Models.ServiceCollectionOptions (see below).
WebApplicationExtensions
Provides extension methods for Microsoft.AspNetCore.Builder.WebApplication to add middleware for Razor.
Configuration is provided by Uwn.Blazor.Models.WebAppOptions (see below).
WebAppBuilder
Provides a builder for Microsoft.AspNetCore.Builder.WebApplication that adds services and endpoints for Razor,
using ServiceCollectionExtensions and WebApplicationExtensions.
Configuration is provided by Uwn.Blazor.Models.ServiceCollectionOptions and Uwn.Blazor.Models.WebAppOptions (see below).
Models
ServiceCollectionOptions
- IncludeAntiforgery: Whether to include antiforgery services. Default is
false. - IncludeCookieOptions: Whether to include cookie options. Default is
false. - IncludeHttpClient: Whether to include HttpClient services. Default is
false. - IncludeHttpContextAccessor: Whether to include HttpContextAccessor services. Default is
false. - IncludeLocalization: Whether to include localization services. Default is
false. - IncludeMicrosoftIdentityWebApp: Whether to include Microsoft Identity Web App services. Default is
false. - IncludeUwRazor: Whether to include Uwn.Blazor services. Default is
false. - AuthorizationOptions: Includes configuration for access control policies. Default is
null. - AuthorizationPolicies: A list of authorization policies to add. Default is
null. - CookiePolicyOptions: Configuration for cookie policies. Default is
null. - SqlServerDbContexts: A list of SQL Server DbContexts to add. Default is
null. - MicrosoftIdentityConfigurationSectionName: The name of the configuration section for Microsoft Identity. Default is
null. - SupportedCultureNames: A list of supported culture names for localization. Default is
null. - SingletonServices: A list of services to register as Singleton. Default is
null. - ScopedServices: A list of services to register as Scoped. Default is
null. - TransientServices: A list of services to register as Transient. Default is
null. - FinalizeCallback: A callback to finalize service collection configuration. Default is
null.
WebAppOptions
- IncludeExceptionHandler: Whether to include an exception handler middleware. Default is
false. - IncludeHsts: Whether to include HSTS middleware. Default is
false. - IncludeRequestLocalization: Whether to include request localization middleware. Default is
false. - IncludeHttpsRedirection: Whether to include HTTPS redirection middleware. Default is
false. - IncludeStaticFiles: Whether to include static files middleware. Default is
false. - IncludeCookiePolicy: Whether to include cookie policy middleware. Default is
false. - IncludeRouting: Whether to include routing middleware. Default is
false. - IncludeAuthentication: Whether to include authentication middleware. Default is
false. - IncludeAuthorization: Whether to include authorization middleware. Default is
false. - IncludeAntiforgery: Whether to include antiforgery middleware. Default is
false. - IncludeOpenIdAuthenticationEndpoints: Whether to include OpenId authentication endpoints. Default is
false. - AuthenticationEndpointRouteBuilderOptions: Configuration for authentication endpoint routes. Default is
null.
AuthenticationEndpointRouteBuilderOptions
- Prefix: The prefix for authentication endpoint routes. Default is
Identity. - StatusPattern: The pattern for the status endpoint. Default is
Status. - ResetPasswordPattern: The pattern for the reset password endpoint. Default is
ResetPassword. - SignUpPattern: The pattern for the sign-up endpoint. Default is
SignUp. - SignInPattern: The pattern for the sign-in endpoint. Default is
SignIn. - ValidatePattern: The pattern for the validate endpoint. Default is
Validate. - EditProfilePattern: The pattern for the edit profile endpoint. Default is
EditProfile. - SignOutPattern: The pattern for the sign-out endpoint. Default is
SignOut.
No packages depend on Uwn.Blazor.
.NET 10.0
- Uwn.Common (>= 10.26.7.3011)
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.OpenTelemetry.AspNetCore (>= 1.6.0)
- Azure.Storage.Blobs (>= 12.29.1)
- Azure.Storage.Queues (>= 12.27.1)
- CommunityToolkit.Mvvm (>= 8.4.2)
- Microsoft.Identity.Web.UI (>= 4.14.1)
- Radzen.Blazor (>= 11.1.8)
- Uwn.EntityFrameworkCore (>= 10.26.7.808)
| Version | Downloads | Last updated |
|---|---|---|
| 10.26.8.2411 | 1 | 8/24/2026 |
| 10.26.8.312 | 2 | 8/3/2026 |
| 10.26.8.307 | 2 | 8/3/2026 |
| 10.26.8.305 | 2 | 8/3/2026 |
| 10.26.7.3012 | 1 | 7/30/2026 |
| 10.26.7.3011 | 1 | 7/30/2026 |