Ignore Casing for route parameters in Minimal APIs #35087
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-minimal-actions
Controller-like actions for endpoint routing
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Describe the bug
When the route parameters do not match due to casing, Minimal APIs throws an exception. We would like either to ignore casing and stay consistent with other other attributes.
To Reproduce
Exceptions (if any)
Error message (Notice FirstName != firstName):
Further technical details
NET SDK (reflecting any global.json):
Version: 6.0.100-rc.1.21404.12
Commit: 78fb921136
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.100-rc.1.21404.12\
Host (useful for support):
Version: 6.0.0-rc.1.21403.13
Commit: c082af307d
.NET SDKs installed:
3.1.411 [C:\Program Files\dotnet\sdk]
5.0.301 [C:\Program Files\dotnet\sdk]
5.0.302 [C:\Program Files\dotnet\sdk]
6.0.100-preview.6.21355.2 [C:\Program Files\dotnet\sdk]
6.0.100-rc.1.21404.12 [C:\Program Files\dotnet\sdk]
The text was updated successfully, but these errors were encountered: