Showing posts with label components. Show all posts
Showing posts with label components. Show all posts

Wednesday, March 21, 2012

Is is possible to trace and/or log HTTP requests made by ATLAS components?

I'd like to be able to trace any HTTP requests made to the server via ATLAS components. My understanding is that everytime the ATLAS framework uses the XmlHttpRequest object an HTTP operation (GET/POST) is issued to the server, I'd like to be able to log those requests and somehow I'm not able to see them via the trace.axd or IIS log.Not sure why you can't see them in the IIS log (are they being filtered out?), but you could see whats happening in the browser via a HTTP tracing tool. I have one as part of my Web Development Helper (athttp://www.nikhilk.net/Project.WebDevHelper.aspx) Hope that helps...
Thanks Nikhil for your reply. I noticed that all of the samples I was trying were posting to web services, for which I was seeing the corresponding requests in the logs. I installed the Web Development Helper and it is very helpful, I was looking for a tool like that, thanks for the tip!

There is a really valuable tool available for watching HTTP traffic in real time.

http://www.fiddlertool.com/fiddler/

This tool will let you watch all incoming/outgoing traffic and you can put breakpoints on the traffic and "fiddle" with it. Hope it can be of use to you!