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

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 Article


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


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

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

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


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

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

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


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


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

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

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

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


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

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


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

Reviewed: v4.0 RTM (四月 17, 2013)

Rated 1 Stars (out of 5) - 的瓦斯弹 撒旦法大赛

View Article


Reviewed: v5.0 RTM (四月 17, 2013)

Rated 1 Stars (out of 5) - 阿斯多夫苏州大方阿斯多夫

View Article

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

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


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