Edited Issue: Please readd FormatterContext [221]
Hello there,today I updated to the RC version of the WebAPI and found that there was no real workable replacement for the FormatterContext.Beside I have no idea why it had to be removed there are...
View ArticleEdited Issue: DefaultHttpControllerActivator fast cache is not used if we...
DefaultHttpControllerActivator is optimized for a single ControllerDescriptor. We should have one instance of controller activator per controller descriptor. Our current code create a single instance...
View ArticleEdited Issue: Expose set extension method for default service on...
Can we add set extension method for default services on ServicesContainer type? Like ReplaceTraceWriter. As it improves the discoverability of default services, so that developers don’t need to go to...
View ArticleCommented Issue: "HttpResponseMessage Get(string key)" and "Entity...
I have an Entity model that uses a string for the primary key.```public class Program{ public string Id { get; set; } public string Name { get; set; }}```I build my model using...
View ArticleCreated Issue: QueryableAttribute.ValidateQuery is not easy to override [918]
1) If someone wants to allow a query option (like $select), he has to copy code from QueryableAttribute to disable allowing other non-supported query options. May be an extension point like...
View ArticleCreated Issue: Allow PageResult to be serializable by XmlSerializer [919]
From here: http://stackoverflow.com/questions/15482032/odata-paging-with-xmlserializer/15482936#15482936
View ArticleCreated Issue: Strong Name for MVC Futures [920]
Is it possible to release a signed version of the MVC 4 Futures assembly on NuGet? I need to build a signed assembly which references the futures assembly.
View ArticleCreated 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 ArticleCreated Issue: Expose async on filters in 4.5 [922]
As we are moving to 4.5 we should also move the attribute filter implementations (see for example AuthorizationFilterAttribute) to expose async in addition to just sync. In v1 we hid async part so well...
View ArticleCreated Issue: [CORS] Usability concern of allowed headers configuration in...
There are two options here in terms of configuring allowed headers. If the headers array is not set everything is allowed, otherwise __*only*__ headers in the array is allowed. For example for an OData...
View ArticleEdited Issue: Try-catch in AttributeBasePolicyProviderFactory hide action...
This issue is related to Issue 916: http://aspnetwebstack.codeplex.com/workitem/916, in which case the try-catch structure (in GetCorsPolicyProvider) hides the action selection failure not for a good...
View ArticleEdited Issue: Preflight request to OData endpoint failed because ambiguous...
Bug #1: Preflight request to OData endpoint failed because ambiguous action methods.ReproOn server, set up a simple CORS supported OData endpoint providing functionality of creating entity. For...
View ArticleEdited Issue: Expose async on filters in 4.5 [922]
As we are moving to 4.5 we should also move the attribute filter implementations (see for example AuthorizationFilterAttribute) to expose async in addition to just sync. In v1 we hid async part so well...
View ArticleCommented Issue: Expose async on filters in 4.5 [922]
As we are moving to 4.5 we should also move the attribute filter implementations (see for example AuthorizationFilterAttribute) to expose async in addition to just sync. In v1 we hid async part so well...
View ArticleCreated Issue: The "Model" property will cause model is null [924]
I have Model Class "Project", it has a "Model" property, type is String.When I create a Action as below:[HttpPost] public ActionResult Create(Project model){ if (ModelState.IsValid){// save model into...
View ArticleCreated Issue: Avoid returning null when RouteData is null in...
Assume RouteData is empty instead of returning null in HttpRoute.GetVirtualPath.When trying to test link generation inside ApiController, the route data needs to be set up properly, which involves the...
View ArticleCreated Issue: Enable mocking of ModelState in ApiController [926]
Include a setter for the ModelState property of ApiController so that it can be mocked easily.Make ModelStateDictionary methods to enable mocking them.When trying to test an action that involves an...
View ArticleEdited Issue: Enable mocking of ModelState in ApiController [926]
Include a setter for the ModelState property of ApiController so that it can be mocked easily.Make ModelStateDictionary methods virtual to enable mocking them.When trying to test an action that...
View ArticleCreated Issue: Enable all the setup code to be done in the controller rather...
When writing a unit test, the user needs to do setup for objects in several places```HttpConfiguration configuration = new HttpConfiguration();controller.Configuration =...
View ArticleCreated Issue: Consider adding an extension method for generating links to...
Currently, generating a link for a controller extending ApiController involves the following method call:```Url.Link("DefaultApi", new { controller="products" id = value.Id });```The user needs to...
View Article