Asgard.Abstractions.AspNetCore
4.0.0-preview.3
See the version list below for details.
dotnet add package Asgard.Abstractions.AspNetCore --version 4.0.0-preview.3
NuGet\Install-Package Asgard.Abstractions.AspNetCore -Version 4.0.0-preview.3
<PackageReference Include="Asgard.Abstractions.AspNetCore" Version="4.0.0-preview.3" />
<PackageVersion Include="Asgard.Abstractions.AspNetCore" Version="4.0.0-preview.3" />
<PackageReference Include="Asgard.Abstractions.AspNetCore" />
paket add Asgard.Abstractions.AspNetCore --version 4.0.0-preview.3
#r "nuget: Asgard.Abstractions.AspNetCore, 4.0.0-preview.3"
#:package Asgard.Abstractions.AspNetCore@4.0.0-preview.3
#addin nuget:?package=Asgard.Abstractions.AspNetCore&version=4.0.0-preview.3&prerelease
#tool nuget:?package=Asgard.Abstractions.AspNetCore&version=4.0.0-preview.3&prerelease
Asgard.Abstractions.AspNetCore
Asgard.Abstractions.AspNetCore contains the ASP.NET Core abstractions shared by the Asgard framework packages.
What is included
- Base controller types for Asgard-style APIs
- Host configuration models for auth, CORS, Kestrel, Swagger, and runtime options
- Identity context contracts used by middleware and web-facing services
- Shared request and response models used by ASP.NET Core integrations
Typical usage
This package is usually consumed indirectly through Asgard.AspNetCore.Core, but it can also be referenced directly when you want to build custom ASP.NET Core integrations on top of Asgard contracts.
using Asgard.Abstractions.AspNetCore.Controller;
using Asgard.Abstractions.AspNetCore.Model;
public sealed class HealthController : BaseController
{
[HttpGet("health")]
public ActionResult<Response<string>> Get()
=> Ok(Response.Success("ok"));
}
Package role
Asgard.Abstractions: cross-cutting domain and infrastructure contractsAsgard.Abstractions.AspNetCore: ASP.NET Core-specific contractsAsgard.Core: core implementationsAsgard.AspNetCore.Core: ASP.NET Core runtime integrations
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Asgard.Abstractions (>= 4.0.0-preview.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Asgard.Abstractions.AspNetCore:
| Package | Downloads |
|---|---|
|
Asgard.AspNetCore.Core
Asgard.AspNetCore.Core 为 Asgard 框架提供 ASP.NET Core 运行时实现,包括租户感知中间件、身份上下文集成和服务注册帮助器,构建在共享抽象包之上。 |
|
|
Asgard.TsGen
Asgard.TsGen generates reusable TypeScript clients by scanning ASP.NET Core controllers decorated with AsgardTsGenAttribute. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.7 | 132 | 5/24/2026 |
| 4.1.6 | 134 | 5/24/2026 |
| 4.1.5 | 133 | 5/23/2026 |
| 4.1.4 | 139 | 5/16/2026 |
| 4.1.3 | 144 | 4/28/2026 |
| 4.1.2 | 127 | 4/21/2026 |
| 4.1.1 | 136 | 4/15/2026 |
| 4.1.0 | 141 | 4/14/2026 |
| 4.0.5 | 131 | 4/11/2026 |
| 4.0.4 | 145 | 4/10/2026 |
| 4.0.3 | 120 | 4/9/2026 |
| 4.0.2 | 124 | 4/8/2026 |
| 4.0.1 | 134 | 4/3/2026 |
| 4.0.0 | 138 | 4/1/2026 |
| 4.0.0-preview.7 | 70 | 3/31/2026 |
| 4.0.0-preview.6 | 70 | 3/30/2026 |
| 4.0.0-preview.5 | 156 | 3/28/2026 |
| 4.0.0-preview.4 | 65 | 3/27/2026 |
| 4.0.0-preview.3 | 65 | 3/27/2026 |