Closed Feature: Make IActionMethodSelector public - AjaxOnlyAttribute [25]
Currently, Web API contains IActionMethodSelector but unfortunately it's internal. So, you cannot use action method selector or action name selector in Web API. But you can easily create AjaxOnly,...
View ArticleCommented Unassigned: Add a simple hook to re-write all outgoing OData links....
Right now, we generate a bunch of links in the OData response payloads. These are,1) Self links - ID, edit and read links.2) Navigation links,3) Metadata links.Customers want to use...
View ArticleClosed Issue: [CORS] The origin URL in CORS in the settings should follow the...
URL like http://example.com:1234/ and http://example.com:1234 should treated as same origin [1]. It is not true in current implementation. We compare the CORS origin literally without normalizing the...
View ArticleClosed Issue: Twitter helper is broken [1088]
Microsoft-web-helpers has a Twitter helper in it. We were using the v1 Twitter API which was deprecated by Twitter recently - https://dev.twitter.com/blog/api-v1-is-retiredWe’ll need to change the...
View ArticleEdited Issue: HttpRequestContext is not available when using HttpServer [1254]
If you are using HttpServer (not selfhost or webhost), Request.GetRequestContext() always returns null. We use HttpServer for quick in-memory testing. It would be useful to maintain same behavior for...
View ArticleEdited 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.
View ArticleEdited Issue: Ajax.BeginForm() not sending submit button's name/value [567]
There are certain circumstances when using Ajax.BeginForm() and the underlying jquery.unobtrusive-ajax.js script that the name/value of the submit button is not posted to the server.See StackOverflow...
View ArticleEdited Feature: Make the ApiControllerActionSelector more extensible [277]
The goal is to have the default action selector (ApiControllerActionSelector) expose some hooks or properties so that it's easier to customize.
View ArticleEdited Issue: UpForGrabs: Web Api ModelState validation is ignoring the...
Given a model with these data annotations:public class Example{[Required][Display(Name = "Activity response")] public string ActivityResponse { get; set; }}I would expect the model state error message...
View ArticleClosed Issue: $orderby fails on complex collections [1281]
URL [http://localhost/Customers(42)/Addresses?$orderby=City](http://localhost/Customers(42)/Addresses?$orderby=City)fails with exception,```"message":"Only ordering by properties at the root level is...
View ArticleEdited Feature: Provide ability to supply friendly Title for actions [520]
Currently we use the name of the Action even for the Title when advertising them. Provide ability to supply friendly Title for actions.Example(the title "Create Order" below):--------{"d":{...
View ArticleEdited Issue: Conventional builder should throw error when it cannot find a...
In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys(as expected), but the...
View ArticleEdited Feature: default odata routing conventions is missing support for...
The following odata uri templates are not supported and WCF DS client generates them.1) PUT or POST ~/entityset/key/cast/$links/navigation - CreateLink with inheritance.2) POST...
View ArticleEdited Feature: MVC Support Adding HTML Attributes to SelectListItems [9]
I would like the ability to add Html attributes to individual SelectListItems via object htmlAttributes. This would be handy for applying CSS to selected options on render. I have working code for this...
View ArticleCommented Issue: Action selection requires a default value on a parameter...
This is especially an issue for attribute routing:[HttpGet("{id?}")]public string Get(string id) { }doesn't work unless you add a default value[HttpGet("{id?}")]public string Get(string id = null) {...
View ArticleCommented Issue: Web API attribute routing should not call actions that are...
Consider the following 2 controllers. One is a Web API controller and the other an MVC controller.```public class ValuesController : ApiController{[System.Web.Http.Route("api/values/{category?}")]...
View ArticleEdited Issue: ASP.Net Web API Help Pages: Document Model Data Annotations [877]
Can the ApiExplorer provide a way to generate documentation which details the Properties (and their data annotations) of an ApiController action paramater? If the action method of a Web API Controller...
View ArticleEdited Issue: Web API attribute routing should not call actions that are...
Consider the following 2 controllers. One is a Web API controller and the other an MVC controller.```public class ValuesController : ApiController{[System.Web.Http.Route("api/values/{category?}")]...
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 Issue: Web API attribute routing should not call actions that are...
Consider the following 2 controllers. One is a Web API controller and the other an MVC controller.```public class ValuesController : ApiController{[System.Web.Http.Route("api/values/{category?}")]...
View Article