Edited Feature: Provide a way to specify validation settings on...
Currently a user cannot specify what is the maximum size of a single file that is allowed or combined size of multiple files that are uploaded or restrict the number of files that are uploaded upfront....
View ArticleEdited Issue: Expose queryable mode option in ODataConvetionModelBuilder [804]
This is useful for unit testing following actions:IQueryable<string> Get(ODataQueryOptions<Todo> options)Users have to build options by themselves and in that case, they need a queryable...
View ArticleEdited Issue: DependencyScope is disposed before the HttpControllerTracer [768]
### Facts - I am using AutoFac as IoC container - I enabled tracing with my custom tracer. - During the trace operation, I try to get the `DependencyScope` through request.Properties collection.###...
View ArticleEdited Issue: '/', '\' and ' ' is not handled correctly in string primary key...
'/', '\' can't route to the correct action' ' will be null value when binding to the id parameter.Repro code: public static void RegisterODataRoutes(this HttpConfiguration configuration){// Metadata...
View ArticleClosed Issue: Breaking razor change reports incorrect error, "} expected" [390]
in v1, the following was legal (in that: it worked) in razor, in a code region: string foo = @Some.Complex.Expression;obviously the @ is redundant, but: it worked. When upgrading to v2, it errors...
View ArticleEdited Issue: HttpResponseException doesn't work in custom IHttpRoute...
I have a custom IHttpRoute implementation for doing some custom routing. I want to throw a 400 (bad request) sometimes. I tried to do a "throw new HttpResponseException()" in my code but the client...
View ArticleEdited Issue: Adding support for collection of simple types on the default...
Currently if we have the following action, the request below would fail with "Multiple actions were found..." error because the parameters are not simple types so they're not used for disambiguation by...
View ArticleCommented Issue: Make User property of ApiController testable [971]
Make the User property of ApiController virtual so that it can be mocked or add a setter so that it can be setup for test.Comments: We should consider making all the properties on ApiController...
View ArticleEdited Issue: [AttributeRouting]Action having multiple attributes should have...
For the following action:```[HttpPost("api/values/path1")][HttpGet("api/values/path2")] public void DoSomething(){}```Currently the routes in the collection are like following:RouteTemplate:...
View ArticleEdited Issue: Provide an easier extension to supply route specific message...
Currently a user has to do the following for inserting a per-route message handler. Provide an easier extension where we wire up the default HttpControllerDispatcher...
View ArticleEdited Issue: PushStreamContent is swallowing exception [910]
I am using HttpClient and PushStreamContent to upload 1GB of data. I noticed that if I do _not_ use the try-catch below, I am not seeing any exception thrown. Actually there is an out-of-memory...
View ArticleCommented Issue: PushStreamContent is swallowing exception [910]
I am using HttpClient and PushStreamContent to upload 1GB of data. I noticed that if I do _not_ use the try-catch below, I am not seeing any exception thrown. Actually there is an out-of-memory...
View ArticleEdited Issue: ModelBinder errors (parse) for required action parameters...
``` public class CustomersController : ApiController{ public Customer GetCustomer(int key){ return null;}}```Use the url http://localhost/MyTypes/2886753098675309This should fail to parse as...
View ArticleClosed Issue: ModelBinder errors (parse) for required action parameters...
``` public class CustomersController : ApiController{ public Customer GetCustomer(int key){ return null;}}```Use the url http://localhost/MyTypes/2886753098675309This should fail to parse as...
View ArticleEdited Feature: Dynamic views location [981]
Although you can add new view locations using the various format properties (ViewLocationFormats, PartialViewLocationFormats, etc.), there is no way to implement locations that vary on dynamic values...
View ArticleEdited Feature: Global error handler for Web API [1001]
If my Web API application is going to return an error to a client, I want to know about it.I want to set up something like ELMAH to notify me when the problem occurs, and I want full details of the...
View ArticleCommented Feature: Global error handler for Web API [1001]
If my Web API application is going to return an error to a client, I want to know about it.I want to set up something like ELMAH to notify me when the problem occurs, and I want full details of the...
View ArticleEdited Feature: Help Page: Expand documentation [1004]
The "Documentation" property in the ApiDescription and ApiParameterDescription should be expanded to include more XmlComment tags than just "<summary>".Specifically, it should at least include...
View ArticleEdited Feature: Consider improving the experience for accessing properties in...
Before the changes introduced by $select and $expand, defining custom odata links was reasonably straightforward using EntityInstanceContext.EntityInstance as in the following snippet.```eic =>{...
View ArticleCommented Feature: Consider improving the experience for accessing properties...
Before the changes introduced by $select and $expand, defining custom odata links was reasonably straightforward using EntityInstanceContext.EntityInstance as in the following snippet.```eic =>{...
View Article