Edited Issue: System.Web.Http.OData: HTTP PATCH with Delta should allow more...
This post focuses on the functionality of the TrySetPropertyValue method of the Delta class.When doing an http PATCH with the (very cool) Delta class, one can only update properties that are basic...
View ArticleCreated Issue: NullRef with RouteDataValueProvider if route template has...
class Program { static void Main(string[] args) { HttpConfiguration config = new HttpConfiguration(); config.Routes.MapHttpRoute("default", "{controller}({id})/{*pathinfo}");...
View ArticleClosed Issue: Add [FromUri] for actions with id parameter in...
Otherwise it won't work for key property with reference type like string.Comments: string is from url by default. So the issue only occurs when the id is char[] or byte[], which are very rare in user...
View ArticleCreated Issue: $format is not supported [582]
ODATA services should support $format ($format=json and $format=atom) query string parameters.As described here http://www.odata.org/documentation/uri-conventions#FormatSystemQueryOption .
View ArticleEdited Feature: OdataQueryOptions does not override NotSupported on...
If you have a class decorated with Queryable and then override the OData Queryable on a specific method in that class with ODataQueryOptions the Queryable Attribute will still throw a not supported...
View ArticleCreated Issue: OData formatter handles content types incorrectly [588]
The OData media type formatter says it handles app/xml, app/atom+xml andapp/json;odata=verbose. However, it doesn't always support these content types. For example, for a feed, it only supports atom...
View ArticleCreated Issue: Self/Edit link generated by convention model builder will be...
In my example, I returned string ID as “Test 01”. The self-link looks like: http://hongye2dev3/9cfe3174130842d5b5e43761cee4f566/StringPrimaryKeyType('Test%25201')This url won't work with IIS7 with...
View ArticleEdited Issue: Self/Edit link generated by convention model builder will be...
In my example, I returned string ID as “Test 01”. The self-link looks like: http://hongye2dev3/9cfe3174130842d5b5e43761cee4f566/StringPrimaryKeyType('Test%25201')This url won't work with IIS7 with...
View ArticleEdited Issue: Self/Edit link generated by convention model builder will be...
In my example, I returned string ID as “Test 01”. The self-link looks like: http://hongye2dev3/9cfe3174130842d5b5e43761cee4f566/StringPrimaryKeyType('Test%25201')This url won't work with IIS7 with...
View ArticleCreated Issue: [Required] should not present users with duplicate errors [590]
See: http://aspnetwebstack.codeplex.com/discussions/396199The implementation change here is to not recognize the [Required] model validator for reference types when doing the value validation.
View ArticleEdited Issue: $orderby on non-comparable property will cause selfhost server...
For example: $orderby=ByteArrayProperty, CollectionProperty, ComplexTypeProperty, NavigationProperty.We should report proper error for such case instead of closing the connection.
View ArticleCommented Issue: $orderby on non-comparable property will cause selfhost...
For example: $orderby=ByteArrayProperty, CollectionProperty, ComplexTypeProperty, NavigationProperty.We should report proper error for such case instead of closing the connection.Comments: This is...
View ArticleEdited Issue: Webgrid and sorting on a column with null values (MVC3) [138]
The problem is based on the following example (borrowed from http://stackoverflow.com/questions/2290436/linq-orderby-breaks-with-navigation-property-being-null) :table Users -> has basic user info...
View ArticleEdited Issue: Razor layout page does not throw a exception if layout is it...
Hi!Lets say I have a razor layout-page (A), and I by mistake have set the layout to be the same location as A, it does not throw a exception, but crashing (locally, my computer freeze)Keep up the good...
View ArticleEdited Issue: Razor ~/ resolution does not exactly work for all attributes [310]
Based on several blogs, one of them is http://vibrantcode.com/blog/2012/4/10/whats-new-in-razor-v2.html/, ~/ resolution should work for all attributes.Well, that's not working for me.I have the...
View ArticleEdited Feature: WebSecurity should allow custom columns in user profile table...
Currently WebMatrix.WebData.WebSecurity does not support adding custom columns in the user profile table when initializing the providers.This could be useful, since the CreateUserAndAccount method...
View ArticleCommented Feature: OdataQueryOptions does not override NotSupported on...
If you have a class decorated with Queryable and then override the OData Queryable on a specific method in that class with ODataQueryOptions the Queryable Attribute will still throw a not supported...
View ArticleCommented Issue: Add BSON support for Json.NET MediaTypeFormatter [241]
I'm so happy to see Json.NET being baked into Web API, however, I still have to write my own custom MediaTypeFormatter to support Bson. Json.NET supports this very easily using the same...
View ArticleCreated Feature: Integrate "debug=true" setting with...
The Configuration.IncludeErrorDetailPolicy is only configurable through codes. It feels nature if we can switch it by change configuration in web.config.
View ArticleCreated Issue: Streamline WebAPI tracing with ASP.NET [592]
Though WebAPI offers a sophisticated tracing story, it is rarely talked about. And there is no default ITraceWriter implementation so until you write one you aren't able to use it. It helps a lot if...
View Article