Asgard.AspNetCore.Core 4.0.0-preview.1

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

Asgard.AspNetCore.Core

Asgard.AspNetCore.Core provides the ASP.NET Core runtime integration for the Asgard framework.

What is included

  • Tenant-aware middleware and tenant scope helpers
  • Identity context accessors and default HTTP-based resolvers
  • ASP.NET Core service registration helpers for Asgard runtime features

Typical usage

Use this package when you are building an ASP.NET Core host on top of Asgard.Core.

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddAsgardContext();
builder.Services.AddAsgardAspNetCore();

var app = builder.Build();
app.UseAuthentication();
app.UseAsgardTenant();
app.UseAuthorization();
app.MapControllers();

Package role

  • Asgard.Abstractions: framework-wide contracts
  • Asgard.Abstractions.AspNetCore: ASP.NET Core-facing contracts
  • Asgard.Core: core implementations
  • Asgard.AspNetCore.Core: web runtime integrations and middleware
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 (1)

Showing the top 1 NuGet packages that depend on Asgard.AspNetCore.Core:

Package Downloads
Asgard.Yggdrasil.AspNetCore

Asgard.Yggdrasil.AspNetCore 是 Asgard 框架的 ASP.NET Core 主机层,提供完整的 Web 应用程序启动模板,集成了Swagger、数据保护、日志和所有核心服务,帮助快速构建模块化应用。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.1.1 2 4/15/2026
4.1.0 37 4/14/2026
4.0.5 48 4/11/2026
4.0.4 52 4/10/2026
4.0.3 78 4/9/2026
4.0.2 98 4/8/2026
4.0.1 110 4/3/2026
4.0.0 115 4/1/2026
4.0.0-preview.7 53 3/31/2026
4.0.0-preview.6 49 3/30/2026
4.0.0-preview.5 137 3/28/2026
4.0.0-preview.4 52 3/27/2026
4.0.0-preview.3 49 3/27/2026
4.0.0-preview.2 42 3/27/2026
4.0.0-preview.1 50 3/27/2026