If you can attach the debugger to the web site, then you can follow the logic. If you have the source code you could follow the logic. Otherwise no.
Find the execution flow of the actual code when an API is called
meorla
1
Reputation point
Is it possible to call an api such as "localhost/calculate" using PostMan and find out which classes or methods are called in order?
It would be like (GetCalculateResult(), Calculate.cs) -> (MathLogic(), Math.cs) and etc?
I want to know the way so it will be easier when I'm trying to understand how others codes work.
Thank you in advance!
2 answers
Sort by: Most helpful
-
-
Bruce (SqlWork.com) 57,241 Reputation points
2022-08-18T15:50:03.017+00:00 you might be interested in application insights
https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview