This Question is Answered

1 "correct" answer available (4 pts)
6 Replies Last post: Jul 12, 2012 12:51 PM by Ivan Shakhov  
Krishna k Newbie 4 posts since
Jul 4, 2012
Currently Being Moderated

Jul 4, 2012 9:38 PM

How to profile WCF service hosted in IIS

Hello All,

 

I need to performance profile web application developed using MVC3 pattern. The application consists of 3 tiers. Presentation using MVC3, Business functionalities as WCF Rest service and DAL layer uses entity framework to interact with SQL Server. Dependency injection (Spring.NET) is used to enable communication between Presentation layer to WCF service and then to DAL.

Please let me know whether dotTrace 5.0 or later can support to profile this application. If possible how can I instrument the WCF service?

Your helps are highly appreciated.

Thanks

Ivan Shakhov JetBrains 96 posts since
Mar 31, 2010
Currently Being Moderated
Jul 9, 2012 11:15 AM in response to: Krishna k
Re: How to profile WCF service hosted in IIS

Hi,

 

Is your WCF deployed to IIS?

If yes, then you should start with "Profile IIS Application". It will restart the whole IIS, attach to it and start waiting for the activity.

After that you should make your WCF service actually do some work. Open option for that is - open the browser and open your application.

 

Regards,

Ivan

Ivan Shakhov JetBrains 96 posts since
Mar 31, 2010
Currently Being Moderated
Jul 10, 2012 7:01 PM in response to: Krishna k
Re: How to profile WCF service hosted in IIS

Hi!

1. Have you succeded in profiling IIS?

2. If Spring.Net is hosted in IIS - it will be captured.

Otherwise you may use .Net Process mode - it captures all .net processed, which are started.

Regards, Ivan

Ivan Shakhov JetBrains 96 posts since
Mar 31, 2010
Currently Being Moderated
Jul 12, 2012 12:51 PM in response to: Krishna k
Re: How to profile WCF service hosted in IIS

Hi,

 

Do you mean memory profiling tool dotTrace Memory? Which version?

 

Regards, Ivan

More Like This

  • Retrieving data ...