Edited Issue: QueryableAttribute doesn't support operators on DateTimeOffset...
http://localhost:9022/api/FilterTests/GetProducts?$filter=DateTimeOffset eq datetimeoffset'2011-06-01T14:03:00'Respose Content: {"Message":"The query specified in the URI is not...
View ArticleEdited Issue: $filter=substringof('#', Name) returns 400 bad request [395]
The same issue happens after url encoding:$filter=substringof('%23', Name)Respose Content: {"Message":"The query specified in the URI is not valid.","ExceptionMessage":"There is an unterminated string...
View ArticleCommented Issue: $filter=substringof('#', Name) returns 400 bad request [395]
The same issue happens after url encoding:$filter=substringof('%23', Name)Respose Content: {"Message":"The query specified in the URI is not valid.","ExceptionMessage":"There is an unterminated string...
View ArticleCommented 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 ArticleUpdated Release: v4.0 RTM (Aug 13, 2012)
Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RTM release.
View ArticleReleased: v4.0 RTM (Aug 13, 2012)
Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RTM release.
View ArticleEdited Issue: $filter=Name eq '+' escape to $filter=Name eq ' ' [394]
+ is escaped to whitespace in web api. So the returned result are different as expected.After escaping + to %2B, it still fails with same result.$filter=Name eq '%2B'
View ArticleEdited Issue: $filter=Name eq '+' escape to $filter=Name eq ' ' [394]
+ is escaped to whitespace in web api. So the returned result are different as expected.After escaping + to %2B, it still fails with same result.$filter=Name eq '%2B'
View ArticleReleased: v4.0 RC (May 17, 2012)
Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RC release.
View ArticleUpdated Release: v4.0 RC (May 17, 2012)
Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RC release.
View ArticleEdited Issue: ampersand is not working in $filter [392]
The following query always fails with 400 error$filter=Name eq ‘&’Even after URL encoding, it still fails.$filter=Name eq ‘%26’It seems that Web API will decode the URL and still send the & to...
View ArticleEdited Issue: OData $filter returns incorrect results for byte arrays when...
$filter=BinaryProp eq binary'010203'doesn't work even if BinaryProp is new byte[] { 1, 2, 3 }.This is due to the fact that the expression that we generate does a reference equals i.e it looks like...
View ArticleCommented Issue: OData $filter returns incorrect results for byte arrays when...
$filter=BinaryProp eq binary'010203'doesn't work even if BinaryProp is new byte[] { 1, 2, 3 }.This is due to the fact that the expression that we generate does a reference equals i.e it looks like...
View ArticleEdited Issue: OData fail when filtering on enum type [388]
The following request always fail with a NotImplementedException:GET: api/municipality/4/groups?$filter=Type eq 2(Type is an enum property, the other properties are string, int,...
View ArticleEdited Issue: OData : Select character encoding based on the content headers...
Currently UTF8 encoding is hardcoded and is always used to write the content. We would need to use the base.SelectCharacterEncoding(..) to get the appropriate encoding to write. This helper method is...
View ArticleCreated Issue: Allow membership and roles table names to be specified [404]
The Internet Application template in VS 2012 now includes DotNetOpenAuth by default, and adds an InitializeSimpleMembership attribute that decorates the AccountController class. While you need to pass...
View ArticleNew Post: Overriding Membership and Roles table names
Item 404 has been added to the Issue Tracker.
View ArticleNew Post: Custom IActionInvoker and async Action
1 down vote favorite I'm using NInject as the default container and the NInjectResolver class on an MVC4 project. Injection works great. Now I'm trying to replace the default IActionInvoker in order...
View ArticleCommented Issue: Compare int with enum in $filter will report can't compare...
For example: http://localhost:64513/api/Model?$filter=1+eq+Enum3Response: HTTP/1.1 400 Bad RequestCache-Control: no-cachePragma: no-cacheContent-Type: application/json; charset=utf-8Expires: -1Server:...
View ArticleCreated Issue: ODataMediaTypeFormatter can't deserialize derived type if base...
For example, we have model class: public abstract class Vehicle { [Key] public int Model { get; set; } [Key] public string Name { get; set; } public virtual int WheelCount { get; set; } } public class...
View Article