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

Created Issue: Delta doesn't support abstract class [450]

As we are supporting abstract base type, we should make Delta<T> to support abstract as well.Current definition of Delta<T> is: public class Delta<TEntityType> : DynamicObject,...

View Article


Created Issue: Delta doesn't work base type [451]

For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...

View Article


Source code checked in, #fe17e7fcb5e2

Remove AttributeEdmPropertyConvention<TPropertyConfiguration, TAttribute> and AttributeEdmTypeConvention<TEdmTypeConfiguration,TAttribute> to avoid partial trust issues with querying on...

View Article

Edited Issue: Delta doesn't work base type [451]

For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...

View Article

Commented Issue: Delta doesn't work base type [451]

For example, I have controller class: public class MotorcyclesController : ApiController { public void Put(Delta<Vehicle> motocycle) { } }When I send request:PUT...

View Article


Edited Issue: Delta doesn't support abstract class [450]

As we are supporting abstract base type, we should make Delta<T> to support abstract as well.Current definition of Delta<T> is: public class Delta<TEntityType> : DynamicObject,...

View Article

Closed 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

Edited Issue: Support ComplexType inheritance in OData [448]

The current ODataModelBuilder only support to set base type for entity type. However, the OData spec says complex type can have base type, too. "derived type: A type that is derived from the base type....

View Article


Closed Issue: Compare int with enum in $filter will report can't compare int...

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


Closed Issue: OrderBy Clauses Shade Programmed Ones [444]

The scenario is to return IQueryable as follows:_dataContext .Cards .OrderByDescending(kc => kc.SendDate) .Where(x => x.SendDate > someDate);Framework inserts additional orderby clauses on the...

View Article

Edited Issue: Exceptions raised from IQueryable implementation are always...

I have constructed a Web API controller with an IQueryable action method as follows.public class ValuesController : ApiController{ [Queryable] IQueryable<int> GetValues() { Task<int>[]...

View Article

Edited Issue: QueryableAttribute doesn't support query on public field [441]

To repro:public class Movie{ public string Name = null;}public class MoviesController : ApiController{ [Queryable] public IEnumerable<Movie> Get() { return new Movie[] { new Movie { Name = "Test"...

View Article

Commented Issue: QueryableAttribute doesn't support query on public field [441]

To repro:public class Movie{ public string Name = null;}public class MoviesController : ApiController{ [Queryable] public IEnumerable<Movie> Get() { return new Movie[] { new Movie { Name = "Test"...

View Article


New Post: support for batch in odata

Thanks for the answer, I did look into that example right after I posted question here, however it seems a bit different. Have anyone tried adopting this for WCF Data Client? Thanks.

View Article

Created Issue: Duplicate references to System.Web.WebPages.Administration.dll...

1. In Visual Studio, create a new Razor v1 web site2. Using the NuGet Package Manager, install the "Microsoft ASP.NET Web Pages" package to upgrade the site to version 2.3. Note the changes made to...

View Article


New Post: Multiple Get[NavigationProperty] methods on controller

I feel incredibly stupid: Adding the action selector thing fixes my issues. Thanks for the hint! :) On Mon, Sep 24, 2012 at 7:50 PM, Matthijs ter Woord <matthijsterwoord@gmail.com> wrote: Thanks...

View Article

Edited Issue: Can't customize navigation link builder in...

For example, I want to change the navigation property link by providing my own link builder code:public class Todo{public int Id { get; set; }public Person CreatedBy { get; set; }}public class...

View Article


Commented Issue: Can't customize navigation link builder in...

For example, I want to change the navigation property link by providing my own link builder code:public class Todo{public int Id { get; set; }public Person CreatedBy { get; set; }}public class...

View Article

Edited Issue: Can't set navigation property as required when using...

For example, I want to set one of the navigation property to be required: public class Todo { public int Id { get; set; } public Person CreatedBy { get; set; } } public class Person { public int...

View Article

Commented Issue: Can't set navigation property as required when using...

For example, I want to set one of the navigation property to be required: public class Todo { public int Id { get; set; } public Person CreatedBy { get; set; } } public class Person { public int...

View Article
Browsing all 7925 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>