Archive for the 'Problem Solving' Category
Exception handling and performance
The vanila try- catch statement:
try
{
// Execute the code for SQL
}
Catch(Exception Ex)
{
// Handle the exception.
}
In the above example the try catch encapsulates a piece of code executing some DB operations.
In case there is an exception thrown in the try block code the exception will be smartly catched in the catch block [...]
October 11th, 2008 | Posted in .NET, Best Practices, Code Snippets, Problem Solving | 3 Comments
A good resource to programming outlook 2003 using c# or using the Primary interop assemblies for Microsoft outlook 2003 in C#
MSDN Article
please note its better to use the primary interop asemblies than directly referencing the COM outlook library
Copyright © Shounak Pandit
October 5th, 2008 | Posted in .NET, Problem Solving | No Comments
Got lucky to try my hand at Continous integration once again.. I remember it has been like more than 5 years now that i had used Nant and CCnet for Continous Integration.
It was fun and challenging to use with the then rustic error messages thrown by both.also configuring the same was also a big pain..
Had [...]
October 2nd, 2008 | Posted in .NET, Build integrators, Problem Solving | No Comments
Code Review…. The dreaded words for a newbie ears ..or in most of the cases even for the experienced developers!!!!
How to code review ? Over the years of being the code reviewer or me being the reviewee have noticed a few things which i feel are worth mentioning for an effective and pain free code [...]
September 17th, 2008 | Posted in .NET, General, Problem Solving | 1 Comment
Google chrome just another browser or the mother of all browsers?
Google has done it again..another product/service in the market that has caught all the attention… yeah there are some negative feedbacks especially by the German media on the same too but hey whats success without some criticism??
The argument they have setup is pretty much the [...]
September 14th, 2008 | Posted in General, Problem Solving | No Comments
One wonders ….Why in the name of God would one want to spend (waste as some people say) time on performing a code review on any piece of code which we/peers have written and seems to be working properly and providing the functionality
I remember back then when i was an intern and i was assigned [...]
September 11th, 2008 | Posted in .NET, Problem Solving | No Comments
Got the following error some time back when i tried running the project,
since it said that it wasnt configured to be dubugged i ran it with the good old “CTRL + F5″ option and got the following error message in IE
my first guess after reading the error (make that reading half the error) was that [...]
September 10th, 2008 | Posted in .NET, Problem Solving | No Comments
How to have Multiple Instances of Project Server 2003 on 1 Machine
How to have Multi[ple Instances of Project server on 1 Machine
I am using the following as examples throughout this article this will describe the steps needed to follow using EditSite tool by Microsoft:
SQL Server [...]
September 10th, 2008 | Posted in Misc, Problem Solving | No Comments
Reposting from old blog
One of my colleague faced a strange problem while using Crystal Reports
He got his report published on the ASPX page but the images in the toolbar weren’t being displayed.
While trying to find out the problem for it I checked the ASPX page and noticed that the src path for the images on [...]
September 10th, 2008 | Posted in .NET, Code Snippets, Crystal Reports, Problem Solving | No Comments
reposting from older blog
How String Concatenation String Builder Append affects performance
Most of us have used String concatenation in our projects, Have we ever given a thought to what goes on behind while concatenating the strings?
There is a major flaw in using string concatenation as against the String builders append concerning performance only.
Except for [...]
September 10th, 2008 | Posted in .NET, Code Snippets, Problem Solving | No Comments