You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8.0-preview3
### Request Delegate Generator
- The `Produces` and `Accepts` metadata are not automatically added to endpoint metadata for a given endpoint. See https://github.com/dotnet/aspnetcore/issues/46277.
- The generated code will not log, or throw exceptions in development mode, when parameter binding fails. Instead, the request will return a `400` status code. See https://github.com/dotnet/aspnetcore/issues/46362.
- The generated code does not support parameters marked with `AsParameters`. See https://github.com/dotnet/aspnetcore/issues/46336.
- The generated code does not support parameters processed as form data via `IFormCollection`, `IFormFile`, or `FromForm`. See https://github.com/dotnet/aspnetcore/issues/47200.
- The generated code does not support route handlers that return an anonymous type. See https://github.com/dotnet/aspnetcore/issues/47244.
- The generated code does not support generic types from outer scope. See https://github.com/dotnet/aspnetcore/issues/47338
- The generated code does not support private parameter and return types. See https://github.com/dotnet/aspnetcore/issues/47339
- The generated code does not respect the `RouteHandlerOptions.ThrowOnBadRequest` property. See https://github.com/dotnet/aspnetcore/issues/46362.
- The generated code does not support having two endpoints with the route handlers that only differ in nullability annotations. See https://github.com/dotnet/aspnetcore/issues/46622.
- The `IEndpointRouteBuilder.Map` and `IEndpointRouteBuilder.MapMethods` overloads are not supported. See https://github.com/dotnet/aspnetcore/issues/47196.
- The generated code does not respect configured `JsonSerializerOptions` when reading from the request body. See https://github.com/dotnet/aspnetcore/issues/47145.
- Generation fails when default parameter values are provided. See https://github.com/dotnet/aspnetcore/issues/47266
This issue outlines the set of features that are not yet supported fully in applications that have been AoT compiled to native code.
If you encounter problems in a preview that are not in the list below, please file an issue in the appropriate repo.
8.0-preview4
Request Delegate Generator
Produces
andAccepts
metadata are not automatically added to endpoint metadata for a given endpoint. See Support metadata generation in RequestDelegate generator aspnetcore#46277.AsParameters
. See Support binding from types defined with anAsParameters
attribute aspnetcore#46336.IEndpointRouteBuilder.Map
andIEndpointRouteBuilder.MapMethods
overloads are not supported. See RDG does not support certainRouteHandlerBuilder
extension methods aspnetcore#47196.JsonSerializerOptions
when reading from the request body. See Pass JsonSerializerOptions toReadFromJsonAsync
calls in RDG aspnetcore#47145.System.Text.Json
IAsyncEnumerable
, do not work. JsonSerializer.Serialize overloads acceptingJsonSerializerContext
don't support unspeakable types. runtime#842608.0-preview3
### Request Delegate Generator - The `Produces` and `Accepts` metadata are not automatically added to endpoint metadata for a given endpoint. See https://github.com/dotnet/aspnetcore/issues/46277. - The generated code will not log, or throw exceptions in development mode, when parameter binding fails. Instead, the request will return a `400` status code. See https://github.com/dotnet/aspnetcore/issues/46362. - The generated code does not support parameters marked with `AsParameters`. See https://github.com/dotnet/aspnetcore/issues/46336. - The generated code does not support parameters processed as form data via `IFormCollection`, `IFormFile`, or `FromForm`. See https://github.com/dotnet/aspnetcore/issues/47200. - The generated code does not support route handlers that return an anonymous type. See https://github.com/dotnet/aspnetcore/issues/47244. - The generated code does not support generic types from outer scope. See https://github.com/dotnet/aspnetcore/issues/47338 - The generated code does not support private parameter and return types. See https://github.com/dotnet/aspnetcore/issues/47339 - The generated code does not respect the `RouteHandlerOptions.ThrowOnBadRequest` property. See https://github.com/dotnet/aspnetcore/issues/46362. - The generated code does not support having two endpoints with the route handlers that only differ in nullability annotations. See https://github.com/dotnet/aspnetcore/issues/46622. - The `IEndpointRouteBuilder.Map` and `IEndpointRouteBuilder.MapMethods` overloads are not supported. See https://github.com/dotnet/aspnetcore/issues/47196. - The generated code does not respect configured `JsonSerializerOptions` when reading from the request body. See https://github.com/dotnet/aspnetcore/issues/47145. - Generation fails when default parameter values are provided. See https://github.com/dotnet/aspnetcore/issues/47266System.Text.Json
IAsyncEnumerable
, do not work. JsonSerializer.Serialize overloads acceptingJsonSerializerContext
don't support unspeakable types. runtime#84260Other
The following areas do not have AoT support at the moment.
See also https://learn.microsoft.com/dotnet/core/deploying/native-aot/
The text was updated successfully, but these errors were encountered: