Locked Issues with Profiling WCF service with Spring.Net communication

  • Monday, July 09, 2012 3:00 PM
     
     

    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. Web application as well as WCF Service is hosted in local IIS. I created a profiler session for the WCF service and then changed the URL in IE to redirect to the main application. The profiler is capturing the WCF calls but failed to instrument from WCF calls to DAL level call stack. The total execution time for the DAL call is displayed in the snapshot. Please let me know how can profiler in this scneario which involves sprint.net communication?

    Thanks
    Krishna



    • Edited by KK_GR Monday, July 09, 2012 3:05 PM
    •  

All Replies

  • Wednesday, July 11, 2012 3:30 AM
    Moderator
     
     Answered

    Hi Krishna,

    Thank you for posting in the MSDN forum.

    Not a WCF and web project expert, but as far as I know, the Profiler tool support the WCF server. Maybe you could share us a simple sample, we try to profile it.

    In addition, I did some research about the issue, Mike shared us some information in this thread “Profiling a WCF Application”, if possible, you could check it, and maybe you could get some useful information.

    Like the blog provided by wdong, maybe you could try to profile this App with command line and check it.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us