Introduce interface with static abstract BindAsync method for custom bound parameters of route handler delegates #40927
Labels
api-approved
API was approved in API review, it can be implemented
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
area-web-frameworks
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
blocked
The work on this issue is blocked due to some dependency
feature-minimal-actions
Controller-like actions for endpoint routing
Milestone
C# 11 introduces support for static abstract interface members. We should update the support for custom parameter binding via a static
BindAsync
method in Minimal APIs to discover and invoke theBindAsync
method via a newly defined interface (see below). We would continue to support the existing discovery and invocation via reflection approach we introduced in .NET 6 to maintain backwards compatibility.I welcome additional interface name suggestions 😄
The text was updated successfully, but these errors were encountered: