VOOZH about

URL: https://www.nuget.org/packages/Aiursoft.WebTools.Abstractions/

⇱ NuGet Gallery | Aiursoft.WebTools.Abstractions 10.0.2




Aiursoft.WebTools.Abstractions 10.0.2

dotnet add package Aiursoft.WebTools.Abstractions --version 10.0.2
 
 
NuGet\Install-Package Aiursoft.WebTools.Abstractions -Version 10.0.2
 
 
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="Aiursoft.WebTools.Abstractions" Version="10.0.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aiursoft.WebTools.Abstractions" Version="10.0.2" />
 
Directory.Packages.props
<PackageReference Include="Aiursoft.WebTools.Abstractions" />
 
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 Aiursoft.WebTools.Abstractions --version 10.0.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aiursoft.WebTools.Abstractions, 10.0.2"
 
 
#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 Aiursoft.WebTools.Abstractions@10.0.2
 
 
#: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=Aiursoft.WebTools.Abstractions&version=10.0.2
 
Install as a Cake Addin
#tool nuget:?package=Aiursoft.WebTools.Abstractions&version=10.0.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Aiursoft WebTools

👁 MIT licensed
👁 NuGet version (Aiursoft.WebTools)

A collection of tools for web development.

How to install

To install Aiursoft.WebTools to your project from nuget.org:

dotnet add package Aiursoft.WebTools

Features

  • Easier application startup
  • QRCode generation
  • HttpContext extensions

Easier application startup

It is a common practice to create a Program class and a Startup class in a ASP.NET Core application. However, it is a little bit annoying to write the same code again and again. So we created a Extends class to help you to write less code.

using System.Reflection;
using Aiursoft.WebTools.Models;

namespace DemoApp;

public class Program
{
 public static async Task Main(string[] args)
 {
 var app = Extends.App<Startup>(args);
 await app.RunAsync();
 }
}

public class Startup : IWebStartup
{
 public void ConfigureServices(IConfiguration configuration, IWebHostEnvironment environment, IServiceCollection services)
 {
 services
 .AddControllers()
 .AddApplicationPart(Assembly.GetExecutingAssembly());
 }

 public void Configure(WebApplication app)
 {
 app.UseRouting();
 app.MapDefaultControllerRoute();
 }
}

QRCode generation

We provide a QRCode generation service for you to generate QRCode image from a string.

var base64 = _qrCodeService.ToQRCodeBase64(somestring);

HttpContext extensions

We provide some useful extensions for HttpContext:

var isWeChat = HttpContext.IsWeChat();
var isMobile = HttpContext.IsMobileBrowser();
var allowTrack = HttpContext.AllowTrack();

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aiursoft.WebTools.Abstractions:

Package Downloads
Aiursoft.WebTools

A tool for web development.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.2 1,450 3/26/2026
10.0.1 1,417 1/11/2026
10.0.0 611 11/15/2025
9.0.0 1,175 12/29/2024
8.0.0 2,666 2/19/2024
7.0.7 1,002 1/30/2024
7.0.6 535 1/18/2024
7.0.5 3,623 11/2/2023
7.0.4 852 9/18/2023