By tag: BestPractice
0
kicks
Good Practice For Working With ASP.NET Controls
A good practice that I'm using when working with ASP.NET controls that saves me a lot of work.
0
kicks
MSDN Design Guidelines for Class Library Developers
Some guidelines for .NET Framework designs
0
kicks
CancelEventArgs - Pitfalls And Alternative
The all-useful CancelEventArgs, a common pitfall with using it and a safer alternative.
0
kicks
Remember To Unhook The Event Handlers
Article that describes how events are implemented and what happens if you forget to unhook the handlers.
0
kicks
throw; vs. throw ex; Here's the difference!
The difference is that throw; preserves the original stack trace and throw ex; truncates the stack trace below the method in which the throw ex; call is located.
0
kicks
Common Pattern For Working With DataReader
A description of a common pattern for working with DataReader object which as described here:
http://vaultofthoughts.net/WhatYouShouldDisposeWhenUsingADONET.aspx
Is IDisposable and should be disposed!
0
kicks
ASP.NET Best Practice Analyzer
The alpha release of the ASP.NET Best Practice Analyzer was about 5 weeks ago. Similar to the popular SQL Server BPA, the ASP.NET BPA evaluates a set of best practice rules and tells you about configuration problems in your applications. The tool checks both machine level and application level confi...
0
kicks
Choosing the Right Type of Exception to Throw
After you have decided when you need to throw exceptions, the next step is to pick the right type of exception to throw. This section provides those guidelines.
0
kicks
Why bother with exceptions?
A short article presenting few of my thoughts on validating input parameters and throwing exceptions.