Commented Issue: Custom attributes - underscores in name should be replaced...
When passing custom attributes to helpers via anonymous object, the "_" should be replaced with "-" just like in MVC helpersexample:[Fact] public void WebGridCustomHtmlAttributeIsSpecified(){ var grid...
View ArticleEdited Issue: Custom attributes - underscores in name should be replaced [610]
When passing custom attributes to helpers via anonymous object, the "_" should be replaced with "-" just like in MVC helpersexample:[Fact] public void WebGridCustomHtmlAttributeIsSpecified(){ var grid...
View ArticleCreated Unassigned: [WebApiOnKatana] Response sent in chunked encoding when...
When there is no content assigned to a HttpResponseMessage, the response is being sent in a chunked encoding format.Example:```public HttpResponseMessage ReturnNoContent(){ return...
View ArticleNew Post: WebAPI, OData, EF5 -- any/all issue
Looks like EF is failing while translating the LINQ expression generated. Is it possible to share the Expression of the IQueryable? If you switch you call stack to this function call,...
View ArticleEdited Unassigned: [WebApiOnKatana] Response sent in chunked encoding when it...
When there is no content assigned to a HttpResponseMessage, the response is being sent in a chunked encoding format.Example:```public HttpResponseMessage ReturnNoContent(){ return...
View ArticleEdited Unassigned: [CORS] If there multiple Access-Control-Request-Headers...
However in the CORS spec:> Let header field-names be the values as result of parsing the Access-Control-Request-Headers headers.Notice that the last word is "headers" indicate it allows multiple...
View ArticleEdited Unassigned: [CORS] Request Method comparison in preflight request...
In CORS Spec:If method is not a case-sensitive match for any of the values in list of methods do not set any additional headers and terminate this set of steps.However in CorsEngine.cs:``` if...
View ArticleEdited Unassigned: HttpServer should convert exceptions to safe http response...
When an exception(example: OperationCanceledException) occurs in a message handler, we do not convert it to a safe http response message at the HttpServer level. By 'safe', I mean to...
View ArticleEdited Unassigned: [CORS] Origin comparison should be case-sensitive for...
According to CORS spec (http://www.w3.org/TR/cors/#resource-requests) for simple request origin comparison is case sensitive:If the value of the Origin header is not a case-sensitive match for any of...
View ArticleEdited Unassigned: [WebApiOnKatana]Create a new interface for buffer policy...
Currently Web Api on Katana implementation uses IHostBufferPolicySelector interface defined in System.Web.Http, but I feel we should have a new interface going forward on Katana.When...
View ArticleEdited Unassigned: [WebApiOnKatana]Indicate Soft 404 Not Found response when...
In SelfHost/Katana, route matching normally happens at HttpRoutingDispatcher, but when CORS is enabled, we add a message handler where we do route matching for pre-flight requests. Since this message...
View ArticleEdited Unassigned: CORS message handler should return 404 in case route...
This scenario effects WebApi-on-Katana's _Soft_ 404 Not Found responses.In SelfHost/Katana, route matching normally happens at HttpRoutingDispatcher, but when CORS is enabled, we add a message handler...
View ArticleEdited Unassigned: Redundant type name serialization in OData JSON light...
When we write the entries for GET http://localhost:50231/Pets/SampleService.Model.BigPet , in JSON light minimal metadata mode, we emit type names for all BigPets. This is redundant as the type of the...
View ArticleEdited Unassigned: Add overloads taking a CancellationToken parameter [983]
Currently some of TAP-based methods in the aspnetwebstack libraries does not have overloads with _CancellationToken_ parameter. For instance following classes:_System.Net.Http_: HttpContent and...
View ArticleEdited Unassigned: Dynamic views location [981]
Although you can add new view locations using the various format properties (ViewLocationFormats, PartialViewLocationFormats, etc.), there is no way to implement locations that vary on dynamic values...
View ArticleEdited Issue: Make User property of ApiController testable [971]
Make the User property of ApiController virtual so that it can be mocked or add a setter so that it can be setup for test.
View ArticleNew Post: WebAPI, OData, EF5 -- any/all issue
aforty wrote: Thanks, that did it! Is there anything else I can provide to help get to the root cause, while I have this complete debugging setup? Thanks a lot for helping me with the debugging.
View ArticleCommented Unassigned: NullPropagation option smart detection should handle...
We try to figure out whether we should do null propagation in query composition by looking at the QueryProvider of the IQueryable. We handle Linq2Objects, Linq2Sql and EntityFramework there. For...
View Article