Visual Studio tips and tricks

Posted by Devang Gandhi on October 26th, 2010

Zain Naboulsi has a great blog providing very useful tips and tricks that you can do in Visual Studio. Check it out here.

WCF Test Client

Posted by Devang Gandhi on August 27th, 2009

While developing a WCF service, I had to write a client for it as well to debug/test it. I recently found out that Visual Studio tools include a WCF test client. It is a GUI tool that enables users to test their WCF service by passing parameters to it and viewing the response. It (WcfTestClient.exe) is located at C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\

How to add breakpoints in Visual Studio without the source code

Posted by Devang Gandhi on June 5th, 2009

I found this really handy trick here. This can be very helpful in doing development using Visual Studio as your IDE.

Visual Studio shortcuts

Posted by Devang Gandhi on February 9th, 2009

If you use Visual Studio for programming on a daily basis, your life can get much easier if you use these Visual Studio shortcuts. Take a look. I would like to add one more:

  • CTRL + “-”  This shortcut takes the cursor to its previous position

C# constructors

Posted by Devang Gandhi on February 4th, 2009

I came across a really nice article on C# constructors. The article describes very useful concepts using simple and easy to understand code samples.

I think it is not difficult to write code but to write code that is elegant and efficient is an art. Proficiency in this art is acquired only over time.

How to remove namespace attribute from XML root element using XSLT?

Posted by Devang Gandhi on February 25th, 2008

There are occasions when we need to remove the namespace attribute from the XML root element before sending it to the receiving application. This can be done using XSL transform as shown below. If you are already doing an XSL transform just include the following code in that XSLT.

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" version="1.0" encoding="UTF-8" />
        <xsl:template match="*">
                <xsl:element name="{local-name()}">
                        <xsl:apply-templates select="@* | node()"/>
                </xsl:element>
        </xsl:template>
</xsl:stylesheet>
 

Crontab

Posted by Devang Gandhi on January 10th, 2008

Cron is a unix utility that allows tasks to run automatically in the background at the configured intervals. Crontab is a tool used to schedule cron jobs. Some great resources on setting up cron jobs.

crontabrocks
adminschoice

How to terminate weblogic integration (WLI) process instances?

Posted by Devang Gandhi on November 9th, 2007

I had a situation where I had a stateful wli process running, although in the wliconsole it showed that it was terminated. Restarting the server did not terminate it. Since it was stateful, its state was stored in the database. I figures the only way to terminate this process is to undeploy the application and redeploy it.

WAMP Server

Posted by Devang Gandhi on May 25th, 2007

How about an automated installer for Apache, PHP, MySql and phpMyAdmin on Windows? and above all it’s a free download.


Copyright © 2007. Devang Gandhi. All rights reserved.