Asgard.Abstractions 4.0.0-preview.7

This is a prerelease version of Asgard.Abstractions.
There is a newer version of this package available.
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
                    
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="Asgard.Abstractions" Version="4.0.0-preview.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Asgard.Abstractions" Version="4.0.0-preview.7" />
                    
Directory.Packages.props
<PackageReference Include="Asgard.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 Asgard.Abstractions --version 4.0.0-preview.7
                    
#r "nuget: Asgard.Abstractions, 4.0.0-preview.7"
                    
#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 Asgard.Abstractions@4.0.0-preview.7
                    
#: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=Asgard.Abstractions&version=4.0.0-preview.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Asgard.Abstractions&version=4.0.0-preview.7&prerelease
                    
Install as a Cake Tool

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 models
  • Asgard.Core: infrastructure implementations built on those contracts
  • Asgard.Abstractions.AspNetCore: ASP.NET Core-specific contracts
  • Asgard.AspNetCore.Core: ASP.NET Core runtime integrations
Product 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. 
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 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