Following are few points you need to take care when you decide to eat an exception. These are very much specific to C# language. a. Limit the code block. Attempt to wrap one or two statements within try. b. If an exception is eaten, log details to some logging mechanism. In short never write empty [...]
Category Archives: Programming/Code
Eating Exceptions… eeehhhh!
24-Apr-08Let’s Digg into Google Maps
17-Apr-08The Web would not be so simpler and interactive without Ajax. This technology makes Web applications pleasant, interactive, quick responsive and light weight. Take any of the online map applications, no matter whether it is Yahoo Maps, Google Maps or Windows Live Local, and you will find awesome precession, cutting edge technology (beyond DHTML, XML [...]
Few frequently asked question for ASP.NET developers: The Identity Selector dialog box is displayed only for SSL protected pages. Therefore you are required to deploy your application on a Web server and install a SSL Certificate. Windows CardSpace does not work with Self Signed Certificates and will die horribly. These certificates do not have CRL [...]
It’s a best practice to add comment when you do check-in to the source control. A text comment is associated with the change you made to the item. Some of the times you need to find a particular comment, but the View History tool available with Visual Studio/TFS is limited that you can’t make a [...]
Think & Implement at Light Speed!
11-Mar-07If you got an ‘idea’ that can drive business, implement it right away before someone snatches it from you and publishes the implementation, especially over the Internet. That’s what happened with me. I had a thought of building ‘code-history’, history of each line of source code file. Typically when you look at the source control, [...]
Preview: LINQ
14-Feb-07Hmmm… a new tool in my hands … and following equation makes me crazy about it! C# 2.0 + ADO.NET = LINQ = C# 3.0 In simple words Language Integrated Query (LINQ) exposes the power of SQL queries within C# syntax. This technology along with its tools allows you to connect to SQL database, extract [...]
Webservices PowerPoint Presentation
06-Jan-07My presentation on WebServices Basics is available for download to the *valuable visitors* of my blog. Here is the content: Web services – Definition: A web service is a collection of protocols and standards used for exchanging data between applications or systems. Characteristics Demo: Writing a simple WebService in Visual Studio 2005 & Consuming WebServices [...]
These days I’m writing a tool for Visual Studio that integrates with Team Foundation Server. This post is about how to retrieve/fetch history of a file from source control server using TFS-SDK. Following function takes server name and file path as input and returns an enumerator holding Changeset objects. public static IEnumerable FetchHistory(string serverName, string [...]
One nice feature of WPF (Windows Presentation Foundation, .Net 3.0) is the integration of 3D library with the existing framework. Today I worked with Viewport3D class. This class handles it all for managing 3D views. The “Hello World” example I coded here basically demonstrates three features: Loading XAML dynamically at runtime Playing with 3D objects [...]
I love writing extensions for applications and filling gaps in between making the world simpler (interacting with each other, giving users flexibility in switching from one application to another.) The power of any application (especially Internet Browsers) lies in how features enriched it is. One of the way to achieve this is to lay down [...]

