Monday, March 26, 2012

Performance Tracking

Hi,

Im using a 3-tier architecture.. 1.Presentation Layer. 2.Web Serice 3.Business Logic Layer(includes DAL).

The presentation layer mostly contains datagrids and repeaters. It makes call to the webservice and get data...The webservice inturn calls the appropriate Business layer function which inturn gets the datat from db.

Now i want to monitor the time taken by each layer to execute and produce the result to the upper layer. How to do that? Is there any .NET provision for this?

Further what are all the other ways to track the performance?

You can enable Trace="true" for the page. And you can see the time taken in each steps.
http://msdn2.microsoft.com/en-us/library/system.diagnostics.trace.aspx

0 comments:

Post a Comment