DongxunFramework.Core 7.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package DongxunFramework.Core --version 7.0.5
NuGet\Install-Package DongxunFramework.Core -Version 7.0.5
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="DongxunFramework.Core" Version="7.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DongxunFramework.Core --version 7.0.5
#r "nuget: DongxunFramework.Core, 7.0.5"
#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 DongxunFramework.Core as a Cake Addin
#addin nuget:?package=DongxunFramework.Core&version=7.0.5

// Install DongxunFramework.Core as a Cake Tool
#tool nuget:?package=DongxunFramework.Core&version=7.0.5

DongxunFramework.Core

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on DongxunFramework.Core:

Package Downloads
DongxunFramework.Mapper

对象映射插件

DongxunFramework.DataAccess

多种类型数据库访问器插件

DongxunFramework.Media

多媒体文件处理

DongxunFramework.DatabaseAccess

多种类型数据库访问器插件

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.5.4 205 12/7/2023
7.0.5.3 215 11/16/2023
7.0.5.2 185 11/15/2023
7.0.5.1 184 11/14/2023
7.0.5 189 11/14/2023
7.0.4.5 202 10/31/2023
7.0.4.4 186 10/30/2023
7.0.4.3 187 10/30/2023
7.0.4.2 174 10/30/2023
7.0.4.1 184 10/30/2023
7.0.4 201 10/27/2023
7.0.3.13 203 10/19/2023
7.0.3.12 182 10/18/2023
7.0.3.11 187 10/10/2023
7.0.3.10 183 9/26/2023
7.0.3.9 196 9/16/2023
7.0.3.8 194 9/15/2023
7.0.3.7 219 9/14/2023
7.0.3.6 200 9/12/2023
7.0.3.5 229 9/8/2023
7.0.3.4 222 8/30/2023
7.0.3.3 207 8/28/2023
7.0.3.2 244 8/18/2023
7.0.3.1 231 8/14/2023
7.0.3 238 8/12/2023
7.0.2.10 262 8/9/2023
7.0.2.9 237 8/8/2023
7.0.2.8 249 8/7/2023
7.0.2.7 241 8/7/2023
7.0.2.6 239 8/7/2023
7.0.2.5 228 8/7/2023
7.0.2.4 241 8/7/2023
7.0.2.3 242 8/2/2023
7.0.2.2 239 7/31/2023
7.0.2.1 249 7/27/2023
7.0.2 245 7/26/2023
7.0.1.16 240 7/25/2023
7.0.1.15 225 7/25/2023
7.0.1.14 237 7/24/2023
7.0.1.13 257 7/24/2023
7.0.1.12 232 7/24/2023
7.0.1.11 260 7/21/2023
7.0.1.10 226 7/20/2023
7.0.1.9 239 7/20/2023
7.0.1.8 267 7/19/2023
7.0.1.7 257 7/19/2023
7.0.1.6 242 7/19/2023
7.0.1.5 235 7/19/2023
7.0.1.4 225 7/19/2023
7.0.1.3 187 7/19/2023
7.0.1.2 219 7/18/2023
7.0.1.1 214 7/18/2023
7.0.1 228 7/18/2023
7.0.0.6 239 7/17/2023
7.0.0.5 226 7/14/2023
7.0.0.4 197 7/14/2023
7.0.0.3 216 7/14/2023
7.0.0.2 180 7/13/2023
7.0.0.1 216 7/12/2023
7.0.0 193 7/12/2023

1.整理Web项目的Filter目录,区分FilterAttribute、Attribute、Middleware;
2.FilterAttribute将继承于OrderedActionFilterAttribute,均以异步模式执行,并内置默认的Order排序值;
3.ResourceAttribute重名为ResourceProperty,避免歧义,同时Resource相关Attribute移入Filter目录;
4.根据异常类型重构ReturnCode枚举内容;
5.增加自定义异常类UnauthorizedException和AccessDeniedException;
6.移除ApiExceptionAttribute,增加API异常处理中间件ApiExceptionMiddleware并注册于默认请求管道的前置位;
7.使用自定义的PrivateAuthenticationMiddleware替换原生的AuthenticationMiddleware(UseAuthentication),并返回自定义的UnauthorizedException;
8.ResourceValidationAttribute中的未认证和未授权结果,抽象为自定义的UnauthorizedException和AccessDeniedException,并由ApiExceptionMiddleware统一处理最终返回;
9.增加ModelValidationAttribute用于拦截并返回自定义的ValidationException,并由ApiExceptionMiddleware统一处理最终返回;
10.增加全局的服务提供程序App.ServiceProvider;
11.增加BuildApp相关扩展方法,便于框架层获取并设置App.ServiceProvider;
12.AppDelegate静态类增加MapperInject属性映射器依赖注入委托属性,由上层应用传递构造属性映射的注入实现;
13.重构原AutoMapper相关的类命名和代码实现;
14.Swagger中间件增加默认的swagger.json缓存处理;
15.当前项目中所有的“application/json”字符均替换为MediaTypeNames.Application.Json。