MintPlayer.AspNetCore.Endpoints.Generator
11.4.0-rc.0
See the version list below for details.
dotnet add package MintPlayer.AspNetCore.Endpoints.Generator --version 11.4.0-rc.0
NuGet\Install-Package MintPlayer.AspNetCore.Endpoints.Generator -Version 11.4.0-rc.0
<PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="11.4.0-rc.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="11.4.0-rc.0" />
<PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add MintPlayer.AspNetCore.Endpoints.Generator --version 11.4.0-rc.0
#r "nuget: MintPlayer.AspNetCore.Endpoints.Generator, 11.4.0-rc.0"
#:package MintPlayer.AspNetCore.Endpoints.Generator@11.4.0-rc.0
#addin nuget:?package=MintPlayer.AspNetCore.Endpoints.Generator&version=11.4.0-rc.0&prerelease
#tool nuget:?package=MintPlayer.AspNetCore.Endpoints.Generator&version=11.4.0-rc.0&prerelease
MintPlayer.AspNetCore.Endpoints.Generator
The source generator of MintPlayer.AspNetCore.Endpoints,
as an analyzer-only package with no FrameworkReference.
- In a server, you do not need it:
MintPlayer.AspNetCore.Endpointsalready carries the same generator and its code fix. - In a typed client — Blazor WebAssembly, a console tool, another service — reference this package
instead. It builds for
browser-wasm, because it brings no ASP.NET Core with it:
<PropertyGroup>
<GenerateEndpointsClient>true</GenerateEndpointsClient>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="…" PrivateAssets="all" />
<EndpointsServerReference Include="..\MyShop.Api\MyShop.Api.csproj" />
</ItemGroup>
EndpointsServerReference (from this package's build targets) builds the server and references its
assembly metadata-only, and the generator writes an internal sealed partial class …Client per server
into EndpointClients.g.cs, from the endpoint contracts in it. See "Typed client in another project" in
the main package's README for the full rules and the MPEP021–MPEP023 diagnostics.
Requirements
A compiler with Roslyn 5.9 or newer: the .NET SDK 10.0.400+ or 11.x, or Visual Studio 2026.
Older compilers are not supported. The generator ships in analyzers/dotnet/roslyn5.9/cs, so an older
compiler (the .NET SDK 10.0.1xx ships Roslyn 5.0) skips it without a word: no client is generated, and
the build fails wherever the generated code is used (in a server, first with CS1061 for the missing
Map…Endpoints()). Update the SDK (or pin a newer one in global.json); nothing in your code is wrong.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
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 |
|---|---|---|
| 11.4.2 | 86 | 11/12/2026 |
| 11.4.1 | 122 | 10/24/2026 |
| 11.4.1-rc.0 | 74 | 10/11/2026 |
| 11.4.0-rc.0 | 74 | 10/8/2026 |
| 11.3.0-rc.0 | 78 | 10/2/2026 |
| 11.2.0-rc.0 | 73 | 9/26/2026 |
| 11.1.0-rc.0 | 73 | 9/25/2026 |
| 11.0.1-rc.0 | 80 | 9/17/2026 |
| 11.0.0 | 137 | 8/27/2026 |
| 10.0.0 | 154 | 3/15/2026 |