- 8月 14, 2021
-
-
由 David Fowler 创作于
* Change route and query fallback semantics - If the list of route parameters is empty then simple parameters are from query only. - If the list of route parameters is null then fallback from route to query. - Added tests.
-
- 8月 10, 2021
-
-
由 Stephen Halter 创作于
-
- 7月 27, 2021
-
-
由 Safia Abdalla 创作于
* Support optionality via nullability and default values * Clean-up, comments, and tests * Address some feedback * Polish up some things * Fix typo in condition * Remove optionality support for implicit services * Add support for IHttpRequestBodyDetectionFeature * Address more feedback from peer review
-
- 7月 23, 2021
-
-
由 Kevin Pilch 创作于
-
- 7月 20, 2021
-
-
由 Rafiki Assumani 创作于
* add helper method to set the content type for string return values * Apply suggestions from code review Co-authored-by:
Stephen Halter <halter73@gmail.com> * Apply suggestions from code review * fix test failure Co-authored-by:
Pranav K <prkrishn@hotmail.com> Co-authored-by:
Stephen Halter <halter73@gmail.com>
-
- 7月 16, 2021
-
-
由 David Fowler 创作于
- Throw exceptions if route parameters are specified via attributes but not declared in the list of route parameters. - Don't fall back to the query string if the the route parameter is specified. - Added tests
-
- 7月 14, 2021
-
-
由 David Fowler 创作于
* Support late bound results - Add support for object, Task<object> and ValueTask<object> result types. We can detect that pattern and generate calls into a helper that does a bunch of runtime checks for known result types. - Added tests
-
- 7月 03, 2021
-
-
由 Martin Costello 创作于
Adds support to minimal actions for parameters of type HttpRequest, HttpResponse, and ClaimsPrincipal to be bound to the values of the Request, Response and User properties of the HttpContext respectively. Also cleans up some typos in the RequestDelegateFactory tests. Addresses #33870.
-
- 6月 28, 2021
-
-
由 wcontayon 创作于
* Use CultureInfo.Invariant - WIP * Add unit test and fix tryParse error * Update TryParseMethodCache and fix build error - WIP * Refacto TryParseMethodCache * PR review * PR review * Add test for TryParse with CultureInfo.Invariant value
-
- 6月 22, 2021
-
-
由 David Fowler 创作于
-
- 6月 19, 2021
-
-
由 Stephen Halter 创作于
-
- 6月 13, 2021
-
-
由 David Fowler 创作于
* Detect services based on service provider - Use IServiceProviderIsService to detect if a parameter is a service. - As a final fallback, try to detect services from the DI container before falling back to body behavior.
-
- 6月 10, 2021
-
-
由 wcontayon 创作于
-
- 4月 15, 2021
-
-
由 Stephen Halter 创作于
* Produce more efficient TryParse code gen. * Fix optional string parameter handling * Remove innerTempSourceString * Update comments * Add test cases for IEnumerable<TService> * fix tests
-
- 4月 13, 2021
-
-
由 Stephen Halter 创作于
-
- 4月 10, 2021
-
-
由 Stephen Halter 创作于
* Remove form support from minimal APIs * Add * MapActionSample -> MinimalSample * Remove MapActionSample.csproj from Mvc.slnf
-
由 Stephen Halter 创作于
This does a big chunk of #30248 while heavily refactoring the RequestDelegateFactory by splitting it out into a bunch of smaller methods. For part 2 of #30248, a "scalar value type that lives in the System namespace", I went with the alternative of "Something convention-based like the presence of a bool TryParse(string, out T) method" instead. This conventions work for types in any namespace including user-defined types.
-
- 3月 30, 2021
-
-
由 Stephen Halter 创作于
* Make RequestDelegateBuilder public - Formerly known as MapActionExpressionTreeBuilder * Add new BuildRequestDelegate overloads * Address PR feedback * RequestDelegateBuilder -> RequestDelegateFactory * Build -> Create * Address final review feedback.
-
- 3月 02, 2021
-
-
由 Stephen Halter 创作于
* Add new "MapAction" overloads * Create RouteEndpointBuilder directly * fix typo: my -> by * is { } -> is not null
-
- 2月 27, 2021
-
-
由 Kahbazi 创作于
* Support optional input for MapAction * Revert passing HttpContext.RequestAborted * Fix tests
-
- 2月 24, 2021
-
-
由 Kahbazi 创作于
* Support value type in MapAction * Update src/Http/Routing/test/UnitTests/Internal/MapActionExpressionTreeBuilderTest.cs Co-authored-by:
Stephen Halter <halter73@gmail.com>
-
由 Kahbazi 创作于
-
- 2月 23, 2021
-
-
由 Kahbazi 创作于
-
- 2月 22, 2021
-
-
由 Kahbazi 创作于
* Fix Generic Task and ValueTask for MapAction * Update MapActionExpressionTreeBuilderTest.cs
-
- 2月 20, 2021
-
-
由 Kahbazi 创作于
-
- 2月 19, 2021
-
-
由 Stephen Halter 创作于
-