Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: After enabling tracing, IControllerConfiguration.Initialize will execute multiple times [755]

$
0
0
Attached repro code.

Steps to repro:
1. Create a custom controller configuration attribute
2. Put the attribute on web api controller
3. Create a self or web host application for web api
4. Enable tracing on the service
5. Run the service
6. Send a client request to reach the controller's action to make it initializing

Possible fix to this bug:
1. Creating an protected copy only constructor in HttpControllerDescriptor which doesn't do any initialization
2. Change HttpControllerDescriptorTracer's constructor to use copy only constructor
Comments: fixed on https://aspnetwebstack.codeplex.com/SourceControl/changeset/c8c13fd2a2f8fd2bc24df26504c0bdb209dc8d0d

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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