Ybd.AbpLite.UnifiedResponse.Abstractions 1.0.0

dotnet add package Ybd.AbpLite.UnifiedResponse.Abstractions --version 1.0.0
                    
NuGet\Install-Package Ybd.AbpLite.UnifiedResponse.Abstractions -Version 1.0.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="Ybd.AbpLite.UnifiedResponse.Abstractions" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ybd.AbpLite.UnifiedResponse.Abstractions" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Ybd.AbpLite.UnifiedResponse.Abstractions" />
                    
Project file
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 Ybd.AbpLite.UnifiedResponse.Abstractions --version 1.0.0
                    
#r "nuget: Ybd.AbpLite.UnifiedResponse.Abstractions, 1.0.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.
#:package Ybd.AbpLite.UnifiedResponse.Abstractions@1.0.0
                    
#: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=Ybd.AbpLite.UnifiedResponse.Abstractions&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Ybd.AbpLite.UnifiedResponse.Abstractions&version=1.0.0
                    
Install as a Cake Tool

Ybd.AbpLite.UnifiedResponse.Abstractions

Ybd.AbpLite.UnifiedResponse 的轻量契约包,不依赖 ASP.NET Core:

  • SkipUnifiedResponseAttribute:标记某个 AppService / 方法不参与统一返回;
  • IApiResponse:统一返回信封的标记接口,避免二次包装;
  • UnifiedResponseHeaders:X-Unified-Response 请求头与取值常量。

Application.Contracts 可以引用本包,而不用引入 ASP.NET Core 或服务端实现。

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.  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.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Ybd.AbpLite.UnifiedResponse.Abstractions:

Package Downloads
Ybd.AbpLite.UnifiedResponse.Client

配合 Ybd.AbpLite.UnifiedResponse 使用的 ABP 客户端包:自动给动态代理请求加 X-Unified-Response: native,使共享 Application.Contracts 的 ABP 客户端拿到裸 DTO,而不是统一信封。

Ybd.AbpLite.UnifiedResponse

ABP 统一返回模块:默认把 /api/app 的成功与异常包装为 { success, data, error },支持 401/403、参数校验、本地化、ABP 原生格式透传(X-Unified-Response: native)以及可替换的信封构造器。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 145 10/26/2026