Skip to content

2.0.0-preview.2

Pre-release
Pre-release

Choose a tag to compare

@ling921 ling921 released this 29 Sep 10:53

Overview

The first usable 2.0 preview adds typed endpoint convention builders and contract attributes for ASP.NET Core endpoint metadata. The source generator emits native Minimal API metadata and inherits contract metadata, policies, parameter binding, and XML documentation across service interfaces.

Breaking changes

RemoteMethodAttribute.SuccessStatusCode is now a non-nullable int; use 0 for the default success status. Nullable types cannot be used as CLR attribute named-argument types.

This is a pre-release build intended for evaluation; APIs may change before 2.0.0 stable.

Validation

Windows Release tests passed for the supported target frameworks. Linux Release packaging passed, including the Native AOT client/server roundtrip and all three NuGet packages.