Closed Issue: Test ConventionsHelpersTests.GetUriRepresentationForValue_Works...
The test ConventionsHelpersTests.GetUriRepresentationForValue_Works verifies the DateTimeOffset representation using the value "datetimeoffset'1600-12-31T16:00:00-08:00'" which will only work if the...
View ArticleEdited Issue: Html.HiddenFor helper and multiple forms on view [863]
HelloI found an issue with using Html.HiddenFor helper on views with more than one HTML forms.When we have a collection on the main view and trying to render partial view with HTML form for each...
View ArticleClosed Issue: Web Api Tracing hides exception context [862]
I have an exception that is being thrown, but the context information for the exception is being lost in the traceAction provided to ITraceWriter.Trace(). This happens because...
View ArticleEdited Issue: Ability to add a class attribue to a WebGrid column header [854]
Hi!I am currently using the WebGrid and trying to do some styling to special colums. I can use the "Style" Property if the WebGridRow for this, but there is no way to style the header too. It would be...
View ArticleCommented Issue: HttpRoute.GetRouteData fails when the request Uri is the...
HttpRoute.GetRouteData truncates the Uri in the request message to calculate the relative request Uri, but in certain cases, for example when the request Uri is equal to the virtualPathRoot, the...
View ArticleCommented Issue: HttpRoute.GetRouteData fails when the request Uri is the...
HttpRoute.GetRouteData truncates the Uri in the request message to calculate the relative request Uri, but in certain cases, for example when the request Uri is equal to the virtualPathRoot, the...
View ArticleCommented Issue: Complex types cannot refer to Entities [805]
I have trawled through the odata.org spec for complex types and can't find anywhere where it says that Complex Types cannot refer to Entities, yet the ODataConventionModelBinder.MapComplexType errors...
View ArticleCreated Unassigned: Modelbinding does not bind the route value properly if...
While testing attribute routing for default values, I noticed that for the following route and action, the parameter name is always nullChange the value of name here to : empty string or only having...
View ArticleEdited Unassigned: Modelbinding does not bind the route value properly if its...
While testing attribute routing for default values, I noticed that for the following route and action, the parameter "name" is always nullChange the value of name here to : empty string or only having...
View ArticleClosed Feature: Add support for x-http-method [456]
MVC currently supports this. We should consider adding the same to ASP.NET Web API. Comments: We will revisit this if we see more customer ask for this.
View ArticleCommented Issue: Remove default namespaces from XML in Web API [413]
The XML serialisation process injects default namespaces into the generated XML: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" These can be...
View ArticleCommented Feature: Add support for documentation to...
This can be done easily by looking for the System.ComponentModel.Description attribute on entities and properties, and using the EDM model's SetDocumentation() method.Comments: ``` private static...
View ArticleCreated Unassigned: Unable to deserialize edm:Time property [975]
I have an working OData service, but as soon as a I add a property of type TimeSpan, I have trouble POSTing to it. The $metadata shows the type as Edm:Time as I would expect. And Fiddler shows the...
View ArticleEdited Issue: Add an ODataClientMediaTypeFormatter as a sample [433]
It is super helpful while doing deserialization tests. We can mark it internal or document it saying that it can be used only for unit testing.
View ArticleCommented Issue: Remove default namespaces from XML in Web API [413]
The XML serialisation process injects default namespaces into the generated XML: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" These can be...
View ArticleCreated Unassigned: SetInlineCount not working when EnableQuerySupport is...
If you manually set the count to return by using SetInlineCount, the QueryableAttribute action filter overwrites it, so your total is never returned in the response.Confirmed as a bug by "raghuramn". A...
View ArticleCreated Unassigned: UrlHelper class in Web API is hard to mock [977]
None of the methods are virtual making it hard to mock and hence test. It would be great if these could be made virtual: public string Link(string routeName, IDictionary<string, object>...
View ArticleCommented Unassigned: UrlHelper class in Web API is hard to mock [977]
None of the methods are virtual making it hard to mock and hence test. It would be great if these could be made virtual: public string Link(string routeName, IDictionary<string, object>...
View ArticleCommented Unassigned: UrlHelper class in Web API is hard to mock [977]
None of the methods are virtual making it hard to mock and hence test. It would be great if these could be made virtual: public string Link(string routeName, IDictionary<string, object>...
View ArticleCommented Feature: Add OData Function Support [881]
Just like with actions, please add support for OData Functions. These are easy to implement with WebApi but it is very difficult to advertise the functions in the metadata since webapi odata currently...
View Article