The following javascript textual date will not bind to C# DateTime:
Tue Jun 4 2019 17:00:00 GMT-0500 (Central Daylight Time)
[HttpGet, Route("Events")]
[Authorize(Permissions.EventRead)]
public async Task<IHttpActionResult> GetEvents(DateTime? date = null)
The date parameter will be null, however when formatted as 'm/d/yyyy hh:mm:ss'
then the date will bind as expected.
Why doesn't this happen out of the box? Is there some middleware configuration to support binding javascript textual dates?