There is more happening between IIS and ASP.NET than you might imagine. When IIS.NET is run in integrated pipeline mode there is back and forth between IIS and .NET that can cause IIS modules to be executed during the ASP.NET authentication phase (this may alternatively be caused by your own code or even a database statement).
Dynatrace now provides visibility into
ASP.NET life cycle events
(requires OneAgent v1.95 or above). Note that in the .NET service example below
ASP.NET
is listed in the
Top findings
section, which leads you to the
Breakdown of service execution time
section. This entry accounts for all execution time and CPU time spent during the execution of ASP.NET code. As you can see, there are still some portions of code that don’t relate to ASP.NET. These code portions can still be found within
Code execution
.
Click
ASP.NET
in the
Breakdown of service execution time
section to view a method hotspot that starts with the respective ASP.NET life cycle event that these hotspots relate to. Most execution time should be spent with
ExecuteRequestHandler
, but as you can see, time is also spent for things like authorization or authentication requests.
This example shows that certain frameworks also perform database lookups during authorization.
You might not always see .NET code hotspots underneath such entries. This is either because little or no .NET code is executed (in which case contribution should be minimal) or because the time is spent outside of .NET, possibly in an IIS module.
The same information can be accessed by clicking the
View method hotspots
button beneath the
CPU consumption
chart.
Visit our dedicated webpage about
ASP.NET monitoring
to learn more about how Dynatrace supports ASP.NET.
The Author
Those who know me know that I'm passionate about 3 things: rock climbing, physics, and performance.
I've worked in performance monitoring and optimizations in enterprise environments for the better part of the last 10 years. Now as a Senior Principal, Product, Application & Microservices, I am doing my best to build those experiences into Dynatrace.
Disclaimer: The views expressed on this blog are my own and do not reflect the views of Dynatrace LLC or its affiliates.
You may also like
A Leader and positioned furthest for Vision and highest in Execution in the 2023 Gartner®️ Magic Quadrant™️
Download report