Aiursoft.WebTools 8.0.28
Aiursoft WebTools
A collection of tools for web development.
Installation
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.
Showing the top 20 packages that depend on Aiursoft.WebTools.
Packages | Downloads |
---|---|
Aiursoft.SDK
The base class, tools and extends for Aiursoft web apps.
|
204 |
Aiursoft.UiStack
Nuget package of 'UiStack' provided by Aiurosft
|
79 |
Aiursoft.SDK
The base class, tools and extends for Aiursoft web apps.
|
11 |
MoongladePure.Web
Nuget package of 'Web' provided by MoongladePure
|
10 |
Aiursoft.SDK
The base class, tools and extends for Aiursoft web apps.
|
10 |
Aiursoft.AiurEventSyncer.WebExtends
Nuget package of 'WebExtends' provided by Aiursoft
|
9 |
Aiursoft.SDK
The base class, tools and extends for Aiursoft web apps.
|
9 |
MoongladePure.Web
Nuget package of 'Web' provided by MoongladePure
|
9 |
Aiursoft.SDK
All Aiursoft API implementations for all apps which need to integrate with Aiursoft.
|
9 |
Aiursoft.AiurEventSyncer.WebExtends
Nuget package of 'WebExtends' provided by Aiursoft
|
8 |
Aiursoft.SDK
The base class, tools and extends for Aiursoft web apps.
|
8 |
.NET 8.0
- Aiursoft.WebTools.Abstractions (>= 8.0.0)
- Aiursoft.CSTools (>= 8.0.4)
- Net.Codecrete.QrCodeGenerator (>= 2.0.5)
Version | Downloads | Last updated |
---|---|---|
8.0.28 | 173 | 11/11/2024 |
8.0.27 | 160 | 10/21/2024 |
8.0.26 | 7 | 10/21/2024 |
8.0.25 | 8 | 10/21/2024 |
8.0.24 | 2 | 10/21/2024 |
8.0.23 | 370 | 09/13/2024 |
8.0.22 | 392 | 07/07/2024 |
8.0.21 | 113 | 06/29/2024 |
8.0.20 | 500 | 03/26/2024 |
8.0.19 | 15 | 03/26/2024 |
8.0.18 | 27 | 03/25/2024 |
8.0.17 | 10 | 04/04/2024 |
8.0.16 | 8 | 04/01/2024 |
8.0.15 | 10 | 04/06/2024 |
8.0.14 | 13 | 03/25/2024 |
8.0.13 | 7 | 04/29/2024 |
8.0.12 | 10 | 03/25/2024 |
8.0.11 | 7 | 04/07/2024 |
8.0.10 | 7 | 04/29/2024 |
8.0.9 | 6 | 04/02/2024 |
8.0.8 | 9 | 04/06/2024 |
8.0.7 | 6 | 04/29/2024 |
8.0.6 | 6 | 04/01/2024 |
8.0.5 | 5 | 04/29/2024 |
8.0.4 | 8 | 04/29/2024 |
8.0.2 | 7 | 04/29/2024 |
8.0.1 | 5 | 04/05/2024 |
8.0.0 | 149 | 03/25/2024 |
7.0.35 | 16 | 04/29/2024 |
7.0.34 | 8 | 04/04/2024 |
7.0.33 | 5 | 04/29/2024 |
7.0.32 | 7 | 03/31/2024 |
7.0.31 | 7 | 04/29/2024 |
7.0.30 | 5 | 04/29/2024 |
7.0.29 | 5 | 03/25/2024 |
7.0.28 | 8 | 03/29/2024 |
7.0.27 | 5 | 04/29/2024 |
7.0.26 | 9 | 03/26/2024 |
7.0.25 | 6 | 04/29/2024 |
7.0.24 | 204 | 03/26/2024 |
7.0.23 | 9 | 04/01/2024 |
7.0.22 | 6 | 04/29/2024 |
7.0.21 | 6 | 04/07/2024 |
7.0.20 | 7 | 04/29/2024 |
7.0.19 | 6 | 04/29/2024 |
7.0.18 | 7 | 04/04/2024 |
7.0.17 | 7 | 04/29/2024 |
7.0.16 | 7 | 03/31/2024 |
7.0.15 | 6 | 04/02/2024 |
7.0.14 | 4 | 04/29/2024 |
7.0.13 | 5 | 04/06/2024 |
7.0.12 | 8 | 04/06/2024 |
7.0.11 | 6 | 03/30/2024 |
7.0.10 | 7 | 03/30/2024 |
7.0.9 | 7 | 04/29/2024 |
7.0.8 | 7 | 03/29/2024 |
7.0.7 | 7 | 04/29/2024 |
7.0.6 | 5 | 04/29/2024 |
7.0.5 | 5 | 05/27/2024 |
7.0.4 | 9 | 04/04/2024 |
7.0.3 | 12 | 03/29/2024 |
7.0.2 | 12 | 04/07/2024 |
7.0.1 | 9 | 04/29/2024 |
7.0.0 | 9 | 03/26/2024 |
6.0.25 | 12 | 04/29/2024 |
6.0.24 | 9 | 03/30/2024 |
6.0.23 | 6 | 04/02/2024 |
6.0.22 | 8 | 04/29/2024 |
6.0.21 | 8 | 04/03/2024 |
6.0.20 | 6 | 04/29/2024 |
6.0.19 | 9 | 03/28/2024 |
6.0.18 | 8 | 04/29/2024 |
6.0.17 | 7 | 04/29/2024 |
6.0.16 | 6 | 04/06/2024 |
6.0.15 | 6 | 04/07/2024 |
6.0.14 | 7 | 04/29/2024 |
6.0.13 | 9 | 04/22/2024 |
6.0.12 | 6 | 03/29/2024 |
6.0.11 | 5 | 04/29/2024 |
6.0.10 | 5 | 03/28/2024 |
6.0.9 | 7 | 04/22/2024 |
6.0.8 | 8 | 04/29/2024 |
6.0.7 | 8 | 03/29/2024 |
6.0.6 | 6 | 03/30/2024 |
6.0.5 | 5 | 03/30/2024 |
6.0.0 | 6 | 04/02/2024 |
5.0.9 | 8 | 04/29/2024 |
5.0.8 | 6 | 03/29/2024 |
5.0.7 | 7 | 04/29/2024 |
5.0.6 | 10 | 04/29/2024 |
5.0.5 | 7 | 04/03/2024 |
5.0.4 | 4 | 04/29/2024 |
5.0.3 | 7 | 04/29/2024 |
5.0.2 | 9 | 04/05/2024 |
5.0.1 | 9 | 03/30/2024 |
5.0.0 | 6 | 04/07/2024 |
3.2.11 | 8 | 04/02/2024 |
3.2.10 | 8 | 04/03/2024 |
3.2.9 | 7 | 04/29/2024 |
3.2.8 | 9 | 04/02/2024 |
3.2.7 | 5 | 04/29/2024 |
3.2.6 | 7 | 04/29/2024 |
3.2.5 | 7 | 04/29/2024 |
3.2.4 | 5 | 04/29/2024 |
3.2.3 | 6 | 04/29/2024 |
3.2.2 | 7 | 04/29/2024 |
3.2.1 | 6 | 03/31/2024 |
3.2.0 | 6 | 04/29/2024 |
3.1.14 | 7 | 03/31/2024 |
3.1.13 | 7 | 04/06/2024 |
3.1.12 | 7 | 04/29/2024 |
3.1.11 | 6 | 04/29/2024 |
3.1.10 | 7 | 04/06/2024 |
3.1.9 | 7 | 04/29/2024 |
3.1.8 | 5 | 04/29/2024 |
3.1.7 | 8 | 04/29/2024 |
3.1.6 | 6 | 04/29/2024 |
3.1.5 | 6 | 04/03/2024 |
3.1.4 | 7 | 04/01/2024 |
3.1.3 | 7 | 04/01/2024 |
3.1.2.2 | 7 | 03/30/2024 |
3.1.2.1 | 8 | 04/01/2024 |
3.1.2 | 5 | 04/01/2024 |
0.0.1 | 5 | 04/29/2024 |