AzRUtil.Web
10.2.0
dotnet add package AzRUtil.Web --version 10.2.0
NuGet\Install-Package AzRUtil.Web -Version 10.2.0
<PackageReference Include="AzRUtil.Web" Version="10.2.0" />
<PackageVersion Include="AzRUtil.Web" Version="10.2.0" />
<PackageReference Include="AzRUtil.Web" />
paket add AzRUtil.Web --version 10.2.0
#r "nuget: AzRUtil.Web, 10.2.0"
#:package AzRUtil.Web@10.2.0
#addin nuget:?package=AzRUtil.Web&version=10.2.0
#tool nuget:?package=AzRUtil.Web&version=10.2.0
AzRUtil.Web
ASP.NET Core web utilities with HTTP helpers, middleware, cookie management, and user agent parsing.
?? Installation
dotnet add package AzRUtil.Web
Or via Package Manager:
Install-Package AzRUtil.Web
?? Target Framework
- .NET 10
? Features
- HTTP Helpers - HttpContext utilities and extensions
- Middleware - Exception handling and response time middleware
- Cookie Management - Add, update, remove cookies
- User Agent Parsing - Browser, OS, and device detection
- JWT Authentication - Bearer token authentication support
- IP Address Extraction - Client IP detection
- Language Detection - User language preferences
?? Dependencies
| Package | Version |
|---|---|
| AzRUtil.Csharp | 2.2.0 |
| Microsoft.AspNetCore.Authentication.JwtBearer | 10.0.1 |
| Microsoft.AspNetCore.Mvc.NewtonsoftJson | 10.0.1 |
| UAParser | 3.1.47 |
?? Quick Start
using AzRUtil.Web.Helpers;
using AzRUtil.Web.Middlewares;
// In Program.cs or Startup.cs
app.UseMiddleware<ExceptionMiddleware>();
app.UseMiddleware<ResponseTimeMiddleware>();
// HTTP Helper usage
var userIp = HttpHelper.GetUserIp;
var userAgent = HttpHelper.GetUserAgentInfo;
var platform = request.GetUserPlatform();
// Cookie management
HttpHelper.AddCookie("name", "value", DateTime.Now.AddDays(7));
HttpHelper.RemoveCookie("name");
Middleware
// Exception Middleware - Global error handling
app.ConfigureCustomExceptionMiddleware();
// Response Time Middleware - Adds X-Response-Time-ms header
app.UseMiddleware<ResponseTimeMiddleware>();
User Agent Detection
// Get client info
var clientInfo = request.GetClientInfo();
var browser = $"{clientInfo.UA.Family} {clientInfo.UA.Major}";
var os = request.GetUserPlatform(); // "Windows 10", "Android 13", etc.
?? Documentation
For full API documentation, visit: http://ashiquzzaman.me/project/AzRUtil.Extender
?? License
PROPRIETARY SOFTWARE - See LICENSE.txt
- ? You may use the compiled NuGet package
- ? You may NOT access, copy, or use source code
- ? No warranty or guarantee provided
- ? No liability accepted for any damages
?? Contact
For licensing inquiries: ashiquzzaman@outlook.com
� Ashiquzzaman. All Rights Reserved.
| 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
- AzRUtil.Csharp (>= 2.3.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.1)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 10.0.1)
- UAParser (>= 3.1.47)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AzRUtil.Web:
| Package | Downloads |
|---|---|
|
AzRUtil.Web.Mvc
ASP.NET Core MVC utilities with Tag Helpers, HTML extensions, pagination controls, and base controller for Razor Pages. |
|
|
AzRUtil.Web.Api
ASP.NET Core Web API utilities with standardized responses, validation filters, base controller, and pagination support. |
|
|
AzRUtil.Web.Rdlc
RDLC report generation utilities for ASP.NET Core MVC and Web API applications with PDF, Excel, and Word export support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Web utilities with middleware and HTTP helpers.