Edited Issue: Exceptions in DefaultODataPathHandler result in 500 [909]
ODataExceptions in DefaultODataPathHandler mean that the incoming request is incorrect or not supported. These should result in 404 or 400 rather than a 500.For now, a workaround would be to have a...
View ArticleCommented Issue: Direct link generation should be consistent with Url.Link...
The direct link generation generates "http://localhost/prefix/", while Url.Link generates "http://localhost/prefix" when the OData path is empty. There's a slight inconsistency here that we should...
View ArticleEdited Feature: Add json.net support for Delta [777]
Currently Delta<T> only works with the ODataFormatter. It should also work with json serialized from JSON.NET/JavaScript/JsonMediaTypeFormatter. Json is used heavily by web api and various...
View ArticleClosed Issue: Considering support ModelState error in ODataError [565]
Discussed with Youssef that ODataError right now doesn't support custom error, so we will lose the modelstate's errors in odata error message.However, ModelState errors are very common in real...
View ArticleClosed Issue: [AttributeRouting]Parsing error when using paranthesis in the...
For the following action:Note: the default value is a guid enclosed { , } characters.```[HttpGet("ForGuids/v3/{id:guid={6A9B7F3B-ED68-4759-ABBA-959ED47EB326}}")] public string ForGuids(Guid id){ return...
View ArticleEdited Feature: Support IServiceProvider Injection for DataAnnotations...
I am not completely sure but at first glance, it seems to me that IServiceProvider for DataAnnotations validations is completely ignored in ASP.NET Web API.Here is a quote from Jeff Handley's blog post...
View ArticleCommented Feature: Support IServiceProvider Injection for DataAnnotations...
I am not completely sure but at first glance, it seems to me that IServiceProvider for DataAnnotations validations is completely ignored in ASP.NET Web API.Here is a quote from Jeff Handley's blog post...
View ArticleClosed Issue: [Routing] Complex Type Action Method Parameters and Action...
With the default action selector (ApiControllerActionSelector), we cannot have multiple methods which accept complex type params along with FromUri applied. For exmaple, Cmd1 and Cmd2 are two different...
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 ArticleCommented Unassigned: [Regression]XmlMediaTypeFormatter does not serialize...
Uri- file://[7f:d:ee9e::7a:828e:c]/-861%A3+/F3&m/@pM is serialized as file://[7f:d:ee9e::7a:828e:c]/-861%**25**A3+/F3&m/@pM on server by XmlMediaTypeFormatter(Notice 25(bolded) added to the...
View ArticleCreated Unassigned: Group views by Department [1076]
I just submitted a [discussion](https://aspnetwebstack.codeplex.com/discussions/445529) about grouping models that are generated by a data first design to be group by a department name. It may even be...
View ArticleEdited Unassigned: WebGrid: Allow customizing header rendering [1069]
Add opportunity to customize header output. Like it made with "Format" property. Or just change Header type to object. To have a way for manage output.```namespace System.Web.Helpers { public class...
View ArticleCreated Unassigned: Add support for Silverlight 5 to...
While System.Net.Http currently supports Silverlight 5, the above library currently doesn't. Instead the portable version of the library only supports .Net45, Windows Store, and WP8 apps.
View ArticleEdited Issue: After enabling tracing, IControllerConfiguration.Initialize...
Attached repro code. Steps to repro: 1. Create a custom controller configuration attribute2. Put the attribute on web api controller3. Create a self or web host application for web api4. Enable tracing...
View ArticleEdited Issue: BrowserHelpers.GetOverriddenBrowser should use...
if (!String.Equals(overriddenUserAgent, httpContext.Request.UserAgent)){ overriddenBrowser = createBrowser(overriddenUserAgent);}
View ArticleEdited Issue: Html.EditorFor helper generates wrong date/time format [630]
In MVC applications, if someone uses the Html.EditorFor helper to generate UI for a model that includes a DateTime field, the resulting HTML markup will render a date in a culture format that doesn't...
View ArticleEdited Issue: Validators in WebPages Do Not Work When Using @RenderPage [446]
In the Web Pages framework, if I browse directly to a page that contains a form, validation works as intended. If I call the page from another page using RenderPage, the ValidationSummary and...
View ArticleEdited Issue: GetBingHtml method in Maps helper emits literal tags in...
To reproduce this issue, follow these steps:1. In a Razor web site, install the latest ASP.NET Web Helpers Library version using NuGet.2. On a CSHTML page that references JQuery, add the following....
View Article