Options

WCF Profiling with Ants feasible ?

raju.upadhyayularaju.upadhyayula Posts: 3
edited August 26, 2014 10:26AM in ANTS Performance Profiler 8
While developing we would like to Profile WCF Application on Dev Env. Can we Profile WCF Application running on Devenv.exe ?

The Help documentation is explaining about 3 methods,
1) WCF as .NET Executable
2) WCF Hosted on IIS
3) WCF Hosted as Windows Service.

But I want the option near to 2) WCF Hosted on Dev Env (VS 2010).

Comments

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi Raju,

    Thanks for your post!

    To profile your WCF application running from Visual Studio, you can use the web development server option - http://documentation.red-gate.com/displ ... ent+server

    If your application targets .NET 4.0, another option is to start your application normally, then use the "Attach to .NET 4+ process" option to attach to the already running Webdev.Webserver40.exe (though please note that this uses Sampling mode of profling, the least detailed mode)

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Options
    Thank You for Replying.

    Over the weekend, I could able to make over the solution. Assuming that will help all others hence sharing with all.


    The URL pointed is addressing part of the Solution for Web Application Profiling. However for WCF Profiling, we need two steps based approach.

    1. WCF Profiling: It is Best Practice to assign a Port Number to WCF Service. When setting up Profiling assign the same port # for Ants Profiler. Follow the steps given in the Url suggested.

    Similarly if there are multiple services need to be profiled for multiple Services, then multiple Profiling need to be invoked.

    2. Client Application Profiling: Client Application can be start either on Profiling mode or normal mode.

    Once we start running the client application then Service Profiling will also be profiled.
Sign In or Register to comment.