Crping.EFCore.Controller 3.19.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Crping.EFCore.Controller --version 3.19.0                
NuGet\Install-Package Crping.EFCore.Controller -Version 3.19.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="3.19.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Crping.EFCore.Controller --version 3.19.0                
#r "nuget: Crping.EFCore.Controller, 3.19.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=3.19.0

// Install Crping.EFCore.Controller as a Cake Tool
#tool nuget:?package=Crping.EFCore.Controller&version=3.19.0                

Crping.EFCore.Controller

基于Crping.EFCoreWebApi的增、删、改、查、分页等常用方法实现!

版本更新说明


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
  • 新增属性:BLLLoggerCache,并修改相关方法

3.12.0

2023-03-05
  • 重命名创建与修改相关API默认方法名

3.11.0

2023-02-24
  • GetTotalAsync新增参数lastDays

3.10.0

2023-02-08
  • 新增SwaggerExt类,新增方法AddAuthSwaggerUseAuthSwagger

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.SwaggerGen6.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 77 11/17/2024
4.11.0 70 11/16/2024
4.10.0 71 11/16/2024
4.9.0 74 11/14/2024
4.8.0 74 11/14/2024
4.7.0 118 10/11/2024
4.6.0 153 9/15/2024 4.6.0 is deprecated because it has critical bugs.
4.5.0 130 7/17/2024
4.4.0 192 4/12/2024
4.3.0 101 4/12/2024
4.2.0 129 4/7/2024
4.1.0 115 3/28/2024
4.0.0 138 1/29/2024
3.19.0 391 6/29/2023
3.18.0 212 6/5/2023
3.17.0 195 5/13/2023
3.16.0 191 5/10/2023
3.12.0 297 3/5/2023
3.11.0 293 2/24/2023
3.10.0 314 2/7/2023
3.9.0 312 2/3/2023
3.8.0 345 1/13/2023
3.7.0 352 1/3/2023
3.6.1 350 12/9/2022
3.6.0 327 12/9/2022
3.5.0 365 11/23/2022
3.4.1 528 5/26/2022
3.4.0 465 5/13/2022
3.3.0 490 4/1/2022
3.0.1 313 12/28/2021
3.0.0 4,612 11/24/2021
2.0.1 371 8/31/2021
2.0.0 364 8/16/2021
1.2.1 382 8/10/2021
1.2.0 413 8/6/2021
1.1.0 393 7/21/2021
1.0.0 692 7/13/2021

基于 Crping.EFCore 的 WebApi 基类,支持普通 WebApi,带版本号 WebApi