Crping.EFCore.Controller 4.4.0

dotnet add package Crping.EFCore.Controller --version 4.4.0
NuGet\Install-Package Crping.EFCore.Controller -Version 4.4.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.4.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.4.0
#r "nuget: Crping.EFCore.Controller, 4.4.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.4.0

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

Crping.EFCore.Controller

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

版本更新说明


4.4.0

2024年4月13日 星期六
  • WebApiBaseController新增TDomain,并修改相关子类

4.3.0

2024年4月7日 星期日
  • 新增领域对象属性DO,并更名_dom__do

4.2.0

2024年4月7日 星期日
  • Controller相关类添加IDomain接口属性_dom_

4.1.0

2024年3月28日 星期四
  • 新增:WebApiBaseControllerWebApiForIntControllerWebApiForLongController

4.0.0

2024年1月27日 星期六
  • 升级目标框架为.net8.0
  • 升级Microsoft.Extensions.Configuration.Abstractions8.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
  • 新增属性: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 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.

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
4.4.0 95 4/12/2024
4.3.0 67 4/12/2024
4.2.0 98 4/7/2024
4.1.0 89 3/28/2024
4.0.0 106 1/29/2024
3.19.0 321 6/29/2023
3.18.0 187 6/5/2023
3.17.0 165 5/13/2023
3.16.0 162 5/10/2023
3.12.0 275 3/5/2023
3.11.0 266 2/24/2023
3.10.0 283 2/7/2023
3.9.0 280 2/3/2023
3.8.0 319 1/13/2023
3.7.0 326 1/3/2023
3.6.1 323 12/9/2022
3.6.0 299 12/9/2022
3.5.0 335 11/23/2022
3.4.1 497 5/26/2022
3.4.0 436 5/13/2022
3.3.0 456 4/1/2022
3.0.1 287 12/28/2021
3.0.0 4,581 11/24/2021
2.0.1 346 8/31/2021
2.0.0 336 8/16/2021
1.2.1 349 8/10/2021
1.2.0 383 8/6/2021
1.1.0 365 7/21/2021
1.0.0 618 7/13/2021

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