[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
5.62k
stars
2.14k
forks
source link
Should ValueProviders return null when the key is present but the value is null #1609
It looks like our value providers have a change in behavior when the key is present but the value is null.
Ex:
/api/Products?id=
The value provider for query string will return a
null
value provider result. This is a change from MVC5/WebAPI2.See https://github.com/aspnet/Mvc/blob/dev/test/Microsoft.AspNet.Mvc.ModelBinding.Test/ValueProviders/ReadableStringCollectionValueProviderTests.cs#L161