ASPNet.FrameworkLightAPI
1.2.18
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ASPNet.FrameworkLightAPI --version 1.2.18
NuGet\Install-Package ASPNet.FrameworkLightAPI -Version 1.2.18
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="ASPNet.FrameworkLightAPI" Version="1.2.18" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ASPNet.FrameworkLightAPI" Version="1.2.18" />
<PackageReference Include="ASPNet.FrameworkLightAPI" />
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 ASPNet.FrameworkLightAPI --version 1.2.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ASPNet.FrameworkLightAPI, 1.2.18"
#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 ASPNet.FrameworkLightAPI@1.2.18
#: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=ASPNet.FrameworkLightAPI&version=1.2.18
#tool nuget:?package=ASPNet.FrameworkLightAPI&version=1.2.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
包含默认统一返回结果格式
swagger自动登录
identityserver4验证(需配置url)
Jtw生成和验证(默认全局验证)
SeriLog日志(默认本地文件)
默认内存缓存
雪花ID生成(单机版 目前不支持分布式)
默认使用SqlSugar ORM(需配置)
默认跨域设置(不配置就是AllowAny)
默认异常处理(会写日志)
对象关系映射(Mapster)
REST API
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Mapster (>= 7.3.0)
- Mapster.DependencyInjection (>= 1.0.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 7.0.3)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 7.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.DependencyModel (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Serilog.AspNetCore (>= 6.1.0)
- Serilog.Enrichers.Thread (>= 3.1.0)
- SqlSugarCore (>= 5.1.4.59)
- Swashbuckle.AspNetCore (>= 6.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.15 | 363 | 12/1/2023 |
| 1.3.14 | 212 | 11/8/2023 |
| 1.3.13 | 349 | 4/19/2023 |
| 1.3.12 | 344 | 4/14/2023 |
| 1.3.11 | 313 | 4/13/2023 |
| 1.3.10 | 293 | 4/13/2023 |
| 1.3.9 | 286 | 4/13/2023 |
| 1.3.8 | 324 | 4/13/2023 |
| 1.3.7 | 299 | 4/13/2023 |
| 1.3.6 | 372 | 4/11/2023 |
| 1.3.5 | 408 | 3/22/2023 |
| 1.3.4 | 353 | 3/21/2023 |
| 1.3.3 | 359 | 3/21/2023 |
| 1.3.2 | 351 | 3/20/2023 |
| 1.3.1 | 323 | 3/20/2023 |
| 1.3.0 | 377 | 3/17/2023 |
| 1.2.21 | 396 | 3/16/2023 |
| 1.2.20 | 354 | 3/16/2023 |
| 1.2.19 | 352 | 3/14/2023 |
| 1.2.18 | 350 | 3/14/2023 |
Loading failed
修复由于设置Orm更新忽略Id导致生成Update sql语句失效的问题