Thursday, September 6, 2012

How to change default development settings in VS IDE

I was working on a machine where the VS IDE was set to VB development settings. Searching the msdn showed me this, by which I was able to set to C# development settings.

Happy Coding!!!

Sunday, July 22, 2012

Entity Framework - Now open source

Entity Framework source code is being released under an open source license and it is available in CodePlex  More information is here.

Happy Coding!!!

Wednesday, May 2, 2012

Profile WCF Service using WCFTestClient.exe

There are various ways , in which you can profile your WCF Service application. Traditionally you might use a web application which will invoke the WCF API's to profile it. Today , we can learn to use WCFTestClient.exe, through which we can invoke WCF Service and profile it.

WCFTestClient is a nice tool using which you can invoke , your WCF service with out developing a client application to test it.  WCFTestClient  can be found under \Program Files\Microsoft Visual Studio 10.0\Common7\IDE (if you are using VS2010 ultimate/premium) and for VS2008 it can be found under \Program Files\Microsoft Visual Studio 9.0\Common7\IDE. You can also open up WCFTestClient by using VisualStudio Command Prompt. Here is a  snapshot of WCFTestClient.

For this blog,  I have used the sample API's that comes along with a new WCF Service Application project template.

In Visual Stdio 2010 (premium/ultimate edition), start a new performance session , by clicking analyze-> launch performance wizard. For this blog I have chosen to profile under instrumentation method. Click next and choose the WCF service which you want to profile and click next. In page 3 of performance wizard , it will ask you to choose which client you want the profiler to use to execute your service. Choose external program and select the path where WCFTestclient.exe is ( \Program Files\Microsoft Visual Studio 10.0\Common7\IDE) and click next and click finish to start profiling.



The performance session will bring up the WCFTestClient. Right click on My Service Projects and add the endpoint address of your WCFService. The service will be added , invoke the API's. The profiler will be collecting the data, upon invoking the  API's . Once you are done stop the WCFTestClient and a profiler report (*.vsp file) will be added into the performance explorer. Analyse the profiler report to optimize your WCF Service.

Happy Coding!

Sunday, April 29, 2012


Hello , after some time , started sharing information's with you. Came across VisualStudioGallery where you can find and use tools controls and extensions with Visual Studio. Lots of interesting things you can play around with can be found there.

Happy Coding.