Crping.EFCore.Controller
4.2.0
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 Crping.EFCore.Controller --version 4.2.0
NuGet\Install-Package Crping.EFCore.Controller -Version 4.2.0
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="Crping.EFCore.Controller" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Crping.EFCore.Controller --version 4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Crping.EFCore.Controller, 4.2.0"
#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.
// Install Crping.EFCore.Controller as a Cake Addin #addin nuget:?package=Crping.EFCore.Controller&version=4.2.0 // Install Crping.EFCore.Controller as a Cake Tool #tool nuget:?package=Crping.EFCore.Controller&version=4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crping.EFCore.Controller
基于Crping.EFCore
的WebApi
的增、删、改、查、分页等常用方法实现!
版本更新说明
4.2.0
2024年4月7日 星期日
Controller
相关类添加IDomain
接口属性_dom_
4.1.0
2024年3月28日 星期四
- 新增:
WebApiBaseController
,WebApiForIntController
,WebApiForLongController
4.0.0
2024年1月27日 星期六
- 升级目标框架为
.net8.0
- 升级
Microsoft.Extensions.Configuration.Abstractions
为8.0
- 与系列相关组件对齐版本号
3.19.0
2023-06-29
- 为所有泛型参数
TKey
添加约束notnull
- 为
MvcController
的用户权限操作添加泛型TUserKey
,并修改相关属性与方法,并重构GetCurrentUserId()
- 为
WebApiController
的用户权限操作添加泛型TUserKey
,并修改相关属性与方法,并重构GetCurrentUserId()
- 为
WebApiVersionController
的用户权限操作添加泛型TUserKey
,并修改相关属性与方法,并重构GetCurrentUserId()
3.18.0
2023-06-05
- 新增跨域管理:
CrossDomainSetup
3.17.0
2023-05-13
- 新增方法:
UseAuthSwaggerWithVersion()
3.16.0
2023-04-21
- 方法
UseAuthSwagger(...)
去除参数,在内部通过DI获取所需数据 - 优化方法
AddAuthSwagger(...)
3.15.0
2023-04-15
- 项目启动可空类型
- 新增方法:
AddApiVersion
- 新增属性:
BLL
,Logger
,Cache
,并修改相关方法
3.12.0
2023-03-05
- 重命名创建与修改相关
API
默认方法名
3.11.0
2023-02-24
GetTotalAsync
新增参数lastDays
3.10.0
2023-02-08
- 新增
SwaggerExt
类,新增方法AddAuthSwagger
,UseAuthSwagger
3.9.0
2023-02-03
- 将运行时修改为
net7.0
3.8.0
2023-01-13
WebApiController
新增方法Task<IActionResult> GetTotalAsync()
WebApiVersionController
新增方法Task<IActionResult> GetTotalAsync()
3.7.0
2023-01-03
- 新增全局引用
Global
,并优化所有引用 - 优化所有命名空间,并更新对组件的引用
3.6.1
2022-12-09
- 删除MvcController中默认的
Index
方法
3.6.0
2022-12-09
- 新增
MvcController
3.5.0
2022-11-23
- 升级
Swashbuckle.AspNetCore.SwaggerGen
到6.4.0
- 更新对
Crping.EFCore 3.9.0
的引用,使用EFCore 7.0.0
历史版本
- 3.4.1:更新引用组件版本
- 3.4.0:适配Crping.EFCore的更新,删除IRelatedBLL相关方法的使用
- 3.3.0:更新对Crping.EFCore 及 Common的引用,并对齐版本号
- 3.0.1:给方法添加判空逻辑
- 3.0.0:目标框架改为.net6.0
- 2.0.1:升级Swagger相关组件
- 2.0.0:与 Crping.EFCore 2.0 版本号对齐(EFCore 重大改版!!!)
- 1.2.1:更新对Crping.EFCore的引用
- 1.2.0:添加_bll.SetCurrentUserForRelatedBLL(GetCurrentUserId);
- 1.1.0:升级对Crping.EFCore的引用
- 1.0.0:支持普通WebApi,带版本控制WebApi
==注意:==
Crping.EFCore
升级后,此组件需重新打包,保持对Crping.EFCore
引用的同步更新,否则会出现“==方法未找到==”的问题
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Crping.EFCore (>= 4.4.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.1.38)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.1.3)
- NSwag.AspNetCore (>= 14.0.7)
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 | |
---|---|---|---|
5.0.0 | 98 | 11/17/2024 | |
4.11.0 | 82 | 11/16/2024 | |
4.10.0 | 83 | 11/16/2024 | |
4.9.0 | 92 | 11/14/2024 | |
4.8.0 | 92 | 11/14/2024 | |
4.7.0 | 124 | 10/11/2024 | |
4.6.0 | 159 | 9/15/2024 | |
4.5.0 | 135 | 7/17/2024 | |
4.4.0 | 196 | 4/12/2024 | |
4.3.0 | 106 | 4/12/2024 | |
4.2.0 | 133 | 4/7/2024 | |
4.1.0 | 119 | 3/28/2024 | |
4.0.0 | 141 | 1/29/2024 | |
3.19.0 | 398 | 6/29/2023 | |
3.18.0 | 217 | 6/5/2023 | |
3.17.0 | 198 | 5/13/2023 | |
3.16.0 | 196 | 5/10/2023 | |
3.12.0 | 303 | 3/5/2023 | |
3.11.0 | 298 | 2/24/2023 | |
3.10.0 | 320 | 2/7/2023 | |
3.9.0 | 317 | 2/3/2023 | |
3.8.0 | 350 | 1/13/2023 | |
3.7.0 | 356 | 1/3/2023 | |
3.6.1 | 353 | 12/9/2022 | |
3.6.0 | 330 | 12/9/2022 | |
3.5.0 | 370 | 11/23/2022 | |
3.4.1 | 533 | 5/26/2022 | |
3.4.0 | 469 | 5/13/2022 | |
3.3.0 | 495 | 4/1/2022 | |
3.0.1 | 316 | 12/28/2021 | |
3.0.0 | 4,615 | 11/24/2021 | |
2.0.1 | 375 | 8/31/2021 | |
2.0.0 | 368 | 8/16/2021 | |
1.2.1 | 387 | 8/10/2021 | |
1.2.0 | 417 | 8/6/2021 | |
1.1.0 | 397 | 7/21/2021 | |
1.0.0 | 702 | 7/13/2021 |
基于 Crping.EFCore 的 WebApi 基类,支持普通 WebApi,带版本号 WebApi