Headless.NET.Sdk.Web 0.2.1

This package has not been indexed yet. It will appear in search results and will be available for install/restore after indexing is complete.
The package icon will become available after this package is indexed.
<Sdk Name="Headless.NET.Sdk.Web" Version="0.2.1" />
                    
For projects that support Sdk, copy this XML node into the project file to reference the package.
#:sdk Headless.NET.Sdk.Web@0.2.1
                    
#:sdk 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.

Headless.NET.Sdk.Web

The ASP.NET Core and Web API wrapper: Microsoft.NET.Sdk.Web plus the complete Headless build baseline. It is available to any compatible .NET project and is not specific to Headless Framework.

Use

Headless does not restrict TargetFramework; Microsoft.NET.Sdk.Web and the installed targeting packs determine compatibility.

As a project SDK:

<Project Sdk="Headless.NET.Sdk.Web/x.y.z">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>
</Project>

Or opt a Microsoft.NET.Sdk.Web project in directly:

<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Headless.NET.Sdk.Web" Version="x.y.z" PrivateAssets="all" />
  </ItemGroup>
</Project>

Additional-SDK, global.json MSBuild SDK resolution, and .NET 10 #:sdk Headless.NET.Sdk.Web@x.y.z consumption are also supported. See the family consumption reference.

Web contract

The package sets HeadlessSdkProjectType=Web, defaults IsPackable=false, and preserves the mandatory Headless analyzer infrastructure, configurable banned-API policy, audit, CI, symbol, and direct-opt-in policies.

On GitHub Actions, Web projects default to SDK container publishing through ghcr.io. The repository and tags are derived from GitHub metadata; main receives the configured version prefix and latest, while other refs receive preview tags. Set DisableSupportWebContainer=true only when the project owns its container policy.

The package is self-contained and does not rely on a separate Headless.NET.Sdk package. It ships no buildTransitive assets.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 0 8/3/2026
0.2.0 35 8/2/2026