Commented Issue: Add AuthenticationFilterAttributeTracer wrapper for...
The authentication filter won’t work under tracing mode as tracer will wrap the auth filter as a FilterTracer which is just an IFilter. FilterGrouping.SelectAvailable can't select correct...
View ArticleUpdated Wiki: Web API Request Batching
OverviewRequest batching is a useful way of minimizing the number of messages that are passed between the client and the server. This reduces network traffic and provides a smoother, less chatty user...
View ArticleEdited Issue: Bug in MVC4: System.Web.PrefixContainer [616]
It seems that internal System.Web.PrefixContainer class was introduced in MVC4 and this class has the bug, which is reproduced with the following model, view and controller action method: public class...
View ArticleCommented Issue: Bug in MVC4: System.Web.PrefixContainer [616]
It seems that internal System.Web.PrefixContainer class was introduced in MVC4 and this class has the bug, which is reproduced with the following model, view and controller action method: public class...
View ArticleEdited Issue: Bug in MVC4: System.Web.PrefixContainer [616]
It seems that internal System.Web.PrefixContainer class was introduced in MVC4 and this class has the bug, which is reproduced with the following model, view and controller action method: public class...
View ArticleEdited Issue: Bug in MVC4: System.Web.PrefixContainer [616]
It seems that internal System.Web.PrefixContainer class was introduced in MVC4 and this class has the bug, which is reproduced with the following model, view and controller action method: public class...
View ArticleSource code checked in, #c8c13fd2a2f8fd2bc24df26504c0bdb209dc8d0d
#850 Tracing decorator for ControllerDescriptor should not call descriptor's Initialize
View ArticleCommented Issue: After enabling tracing, ControllerConfiguration will be run...
After enabling tracing, ControllerConfiguration.Initialize will be run on every request.See attached code.Comments: fixed on...
View ArticleCommented Issue: After enabling tracing, IControllerConfiguration.Initialize...
Attached repro code. Steps to repro: 1. Create a custom controller configuration attribute2. Put the attribute on web api controller3. Create a self or web host application for web api4. Enable tracing...
View ArticleEdited Issue: After enabling tracing, IControllerConfiguration.Initialize...
Attached repro code. Steps to repro: 1. Create a custom controller configuration attribute2. Put the attribute on web api controller3. Create a self or web host application for web api4. Enable tracing...
View ArticleSource code checked in, #0589b350f7f2e697642f014daa0d0c9650855199
DCN07: WebAPI: DefaultContentNegotiator.Negotiate: Remove empty formatters case. The empty formtter case would be very rare in practice and slightly slows down the common case.
View ArticleSource code checked in, #692637a316aa058e3e0c6cf74d5f875c83834806
WA28: WebAPI: Eliminate RunSynchronously. All remaining uses of the RunSynchronously helper were on performance-sensitive code paths. This change saves 2 allocations and a delegate invokation for each...
View ArticleSource code checked in, #d5d6bf8518c3096ca90e285ae48b901143578085
WA27: WebAPI: ApiControllerActionSelectors: Avoid closures. WebAPI scenarios are impacted by allocation of closures. This change saves 2 closures per request by refactoring out Linq and avoiding...
View ArticleSource code checked in, #56b49bf79386afa0231959c5d15834881cc0d687
DS03: ConcurrentDictionary copy: Implement TryGetValue. Needed by subsequent changes.
View ArticleSource code checked in, #34a2e39ec5ecb59d3c1557b695233d4a0c65c1e6
WA03: WebAPI: ApiController: Replace Linq and foreach with faster looping over filters. WebAPI Async SelfHost is impacted by overhead of Linq and foreach operations over data stored in List<T>....
View ArticleSource code checked in, #3c9b33ffb237f649c3544e4e287646fc6fddfd8a
DCN095: WebAPI: MediaTypeFormatterCollection: Simple change notification. Minimal change notification on MediaTypeFormatterCollection is needed by subsequent caching changes.
View ArticleSource code checked in, #fc59637a73bdec59baea2d1af0126132fb95f3a2
DCN10: WebAPI: DefaultContentNegotiator: Use cached writing formatters. DefaultContentNegotiator. Negotiate is performance sensitive, taking 7% of CPU. 2 of the 4 default media formatters are...
View ArticleCreated Unassigned: $select and $expand not working properly for complex...
Given the following model:``` public class JsonSelectCustomer{ public int Id { get; set; } public string Name { get; set; } public virtual IList<JsonSelectOrder> JsonSelectOrders { get; set; }}...
View ArticleEdited Issue: HttpResponseException doesn't work in custom IHttpRoute...
I have a custom IHttpRoute implementation for doing some custom routing. I want to throw a 400 (bad request) sometimes. I tried to do a "throw new HttpResponseException()" in my code but the client...
View Article