Asgard.Abstractions
4.0.0-preview.7
See the version list below for details.
dotnet add package Asgard.Abstractions --version 4.0.0-preview.7
NuGet\Install-Package Asgard.Abstractions -Version 4.0.0-preview.7
<PackageReference Include="Asgard.Abstractions" Version="4.0.0-preview.7" />
<PackageVersion Include="Asgard.Abstractions" Version="4.0.0-preview.7" />
<PackageReference Include="Asgard.Abstractions" />
paket add Asgard.Abstractions --version 4.0.0-preview.7
#r "nuget: Asgard.Abstractions, 4.0.0-preview.7"
#:package Asgard.Abstractions@4.0.0-preview.7
#addin nuget:?package=Asgard.Abstractions&version=4.0.0-preview.7&prerelease
#tool nuget:?package=Asgard.Abstractions&version=4.0.0-preview.7&prerelease
Asgard.Abstractions
Asgard.Abstractions is the contract layer of the Asgard framework.
What is included
- Configuration models for caching, jobs, logging, messaging, plugins, and security
- Core interfaces such as repositories, jobs, messaging endpoints, and plugin contracts
- Shared entity bases and common identity primitives
- Serialization helpers and system configuration attributes used by higher-level packages
Typical usage
Reference this package when you want to depend on Asgard contracts without pulling in the runtime implementations from Asgard.Core.
using Asgard.Abstractions.Job;
public sealed class SampleJob : IJob
{
public Task ExecuteAsync(IJobExecutionContext context, CancellationToken cancellationToken = default)
=> Task.CompletedTask;
}
Package role
Asgard.Abstractions: framework contracts and shared modelsAsgard.Core: infrastructure implementations built on those contractsAsgard.Abstractions.AspNetCore: ASP.NET Core-specific contractsAsgard.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
- FreeSql (>= 3.5.307)
- FreeSql.DbContext (>= 3.5.307)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.9)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Asgard.Abstractions:
| Package | Downloads |
|---|---|
|
Asgard.Core
Asgard.Core 包含框架的具体基础设施实现,涵盖缓存、任务调度、消息、日志、插件、安全和配置,构建在 Asgard.Abstractions 的契约之上。 |
|
|
Asgard.Abstractions.AspNetCore
Asgard.Abstractions.AspNetCore 定义了 Asgard 框架中面向 ASP.NET Core 的契约,包括控制器基类、请求模型、主机选项、中间件抽象和身份上下文接口,用于可复用的 Web 集成。 |
|
|
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.1 | 55 | 4/15/2026 |
| 4.1.0 | 94 | 4/14/2026 |
| 4.0.5 | 134 | 4/11/2026 |
| 4.0.4 | 141 | 4/10/2026 |
| 4.0.3 | 119 | 4/9/2026 |
| 4.0.2 | 126 | 4/8/2026 |
| 4.0.1 | 127 | 4/3/2026 |
| 4.0.0 | 140 | 4/1/2026 |
| 4.0.0-preview.7 | 52 | 3/31/2026 |
| 4.0.0-preview.6 | 49 | 3/30/2026 |
| 4.0.0-preview.5 | 138 | 3/28/2026 |
| 4.0.0-preview.4 | 55 | 3/27/2026 |
| 4.0.0-preview.3 | 49 | 3/27/2026 |
| 4.0.0-preview.2 | 46 | 3/27/2026 |
| 4.0.0-preview.1 | 49 | 3/27/2026 |