OYMLCN.AspNetCore
1.2.2
Prefix Reserved
See the version list below for details.
dotnet add package OYMLCN.AspNetCore --version 1.2.2
NuGet\Install-Package OYMLCN.AspNetCore -Version 1.2.2
<PackageReference Include="OYMLCN.AspNetCore" Version="1.2.2" />
paket add OYMLCN.AspNetCore --version 1.2.2
#r "nuget: OYMLCN.AspNetCore, 1.2.2"
// Install OYMLCN.AspNetCore as a Cake Addin #addin nuget:?package=OYMLCN.AspNetCore&version=1.2.2 // Install OYMLCN.AspNetCore as a Cake Tool #tool nuget:?package=OYMLCN.AspNetCore&version=1.2.2
ASP.Net Core 扩展
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.1
- Microsoft.AspNetCore.App (>= 2.1.2)
- OYMLCN.Extension (>= 1.4.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.类Controller继承自源类型
加入参数 IsQcloudCDNRequest、RequestSourceIP、IsAuthenticated、UserName、UserId
加入方法 UserSignIn、UserSignOut、UserSignInWithJWT、UserSignOutWithJWT
加入辅助 RefererPath、RequestHost、RequestPath、RequestUserAgent、RequestQueryParams
2.配置扩展
services.AddSessionAndCookie、app.UseQcloudForwardedHeaders
app.UseSessionAndAuthentication、app.UseJsonResultForStatusCodeAndException
app.UseJsonResultForStatusCodeAndException
3.独立模块
ViewRender、EmailSender
4.TagHelper(附带部分适用于LayUI的辅助扩展)
辅助类 CDNImageHelper
TagHelperOutput扩展方法 GetAttribute、RemoveAttribute、AddClass
5、扩展模块
JsonWebToken 构造器JwtTokenBuilder 中间件JWTInCookieMiddleware 配置services.AddJsonWebTokenAuthentication、app.UseJWTAuthenticationWithCookie
EntityFramework扩展:RemoveOne、RemoveOneAndSave
5、第三方SDK扩展模块(基于OYMLCN.Extension已有的第三方SDK)
Aliyun、TencentCloud