Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Browsing all 7925 articles
Browse latest View live

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 Article


Edited 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 Article


Commented 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 Article

Commented 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 Article

Updated Release: v4.0 RTM (Aug 13, 2012)

Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RTM release.

View Article


Released: v4.0 RTM (Aug 13, 2012)

Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RTM release.

View Article

Edited 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 Article

Edited 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 Article


Released: v4.0 RC (May 17, 2012)

Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RC release.

View Article


Updated Release: v4.0 RC (May 17, 2012)

Includes ASP.NET MVC 4, Web API 4, and Web Pages 2 RC release.

View Article

Edited 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 Article

Edited 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 Article

Commented 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 Article


Edited 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 Article

Edited 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 Article


Created 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 Article

New Post: Overriding Membership and Roles table names

Item 404 has been added to the Issue Tracker.

View Article


New 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 Article

Commented 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 Article

Created 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
Browsing all 7925 articles
Browse latest View live