Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Browsing all 7215 articles
Browse latest View live
↧

Created Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article


Created Issue: EnableCors should throw if config has been initialized [937]

EnableCors should throw an exception if the HttpConfiguration has already been locked down due to the first request. Otherwise it will insert a MessageHandler that will not be properly chained with the...

View Article


Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article

Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article

Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article


Commented Feature: Add better support for excluding properties from model...

Currently hard to do because users have to register a custom ModelMetadataProvider. We need an attribute-based way of excluding properties.Comments: A PropertyFilter on ModelBindingContext would also...

View Article

Edited Issue: Consider improving OData link generation with a fluent api [929]

When generating a link for an OData resource, the current experience is as follows.```Url.ODataLink( new EntitySetPathSegment("People"), new KeyValuePathSegment(key));```Consider improving the link...

View Article

Edited Issue: Enable all the setup code to be done in the controller rather...

When writing a unit test, the user needs to do setup for objects in several places```HttpConfiguration configuration = new HttpConfiguration();controller.Configuration =...

View Article


Edited Issue: Enable mocking of ModelState in ApiController [926]

Include a setter for the ModelState property of ApiController so that it can be mocked easily.Make ModelStateDictionary methods virtual to enable mocking them.When trying to test an action that...

View Article


Edited Issue: Avoid returning null when RouteData is null in...

Assume RouteData is empty instead of returning null in HttpRoute.GetVirtualPath.When trying to test link generation inside ApiController, the route data needs to be set up properly, which involves the...

View Article

Edited Issue: Put EnableCors under namespace System.Web.Http [913]

The HttpConfiguration extension EnableCors is under namespace System.Web.Http.Cors in recent build. As a result, to enable cors in WebApiConfig you need to include 'using System.Web.Http.Cors'.In...

View Article

Edited Issue: [CORS] Preflight request to OData endpoint failed because...

Bug #1: Preflight request to OData endpoint failed because ambiguous action methods.ReproOn server, set up a simple CORS supported OData endpoint providing functionality of creating entity. For...

View Article

Edited Issue: [CORS] Usability concern of allowed headers configuration in...

There are two options here in terms of configuring allowed headers. If the headers array is not set everything is allowed, otherwise __*only*__ headers in the array is allowed. For example for an OData...

View Article


Edited Issue: [CORS] Put EnableCors under namespace System.Web.Http [913]

The HttpConfiguration extension EnableCors is under namespace System.Web.Http.Cors in recent build. As a result, to enable cors in WebApiConfig you need to include 'using System.Web.Http.Cors'.In...

View Article

Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article


Created Issue: ModelBinder errors (parse) for required action parameters...

``` public class CustomersController : ApiController{ public Customer GetCustomer(int key){ return null;}}```Use the url http://localhost/MyTypes/2886753098675309This should fail to parse as...

View Article

Created Issue: Modify AsyncEntitySetController's actions/methods to accept...

Modify AsyncEntitySetController's actions/methods to accept CancellationToken....

View Article


Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article

Commented Issue: OData support for Int64 keys seems to be lacking [936]

OData support for Int64 key seems to be lacking (I also accept I may be doing something wrong)Run:http://localhost/MyTypes(2886753098675309)Result:{"odata.error": {"code": "","message": {"lang":...

View Article

Edited Issue: ModelBinder errors (parse) for required action parameters...

``` public class CustomersController : ApiController{ public Customer GetCustomer(int key){ return null;}}```Use the url http://localhost/MyTypes/2886753098675309This should fail to parse as...

View Article
Browsing all 7215 articles
Browse latest View live