By tag: CodeBetter
0
kicks
AddItem Extension Method for CheckBoxList, DropDownList, ListBox
Just 1 AddItem extension method which works for 5 controls to make the code a lot simpler and cleaner :-) Cheers to object inheritance and cheers to Extension Methods ;-)
0
kicks
Setting StringBuilder's Initial Capacity for Extreme Performance
You must have come across plenty of articles on the internet which talk about using the StringBuilder class when computing large strings for performance gains. Nothing wrong with that. However I have not seen many coders using the Initial Capacity constructor of the StringBuilder class which can fur...
0
kicks
Cool Extension Methods for IDataReader Interface
18 cool Extension Methods to for cleaner data access using the DataReader class. Cut down your data access code by using these 18 Extension Methods. Full source code available for download :-)
0
kicks
Trick: Making Non Themeable Properties of ASP.NET Controls Themeable
Excellent hack to make Non Themeable properties of ASP.NET controls Themeable. After learning this hack, you would be able to set the Display and the ValidationExpression properties of the RegularExpressionValidator control directly from a Skin file !!! Even the MaxLength property of a TextBox. Woul...
0
kicks
Handling ASP.NET Session Variables Efficiently
Excellent post which explains how to write bug free and clean code to handle ASP.NET sessions variables efficiently
0
kicks
Foundations of Programming - Part 1 - Introduction
The first in a serie of must-read articles.
0
kicks
Best of the Shade Tree Developer (Jeremy Miller)
Compendium of the best posts from Jeremy Miller about many topics, from Testing through IoC to Agile.
0
kicks
The productive developer
Productivity is the magic word after which all tools, practices and patterns are heading. This article gives hints on how to enhance the productivity of a developer. Recommended for every IT Manager
0
kicks
Monorail Vs Rails Isn't a Meaningful Question
There are reasons for either of the three choices, but we technologists often fail to actually make a choice as much as we choose not to choose for not being even aware of our choices. How do you know that you're using the best, most productive tools?
0
kicks
Unit Testing Business Logic without Tripping Over the Database
Oldy but a goody from Jeremy D. Miller
0
kicks
More testing code than production code is typical, but fine
Jeremy Miller of CodeBetter blogs writes that you may end up with more unit test code than production code, but that's fine. Remember, production code is way harder to write than test code. Test methods are each isolated units that don't have dependencies on each other, like production methods do.
0
kicks
Windows Workflow 101 or 2 Months with WF
This article presents both an introduction to WF as well as in-depth discussion of the issues I faced in trying to apply it's model to a real-world application
0
kicks
Composite keys are evil
Composite keys (multi column primary keys) make any kind of Object/Relational mapping and persistence in general harder. Life is so much easier with surrogate keys. You can always make unique constraints where it's necessary.
0
kicks
Evaluating a major/minor release (developer metrics)
"Developer metrics are hard. We all know this. Development is part science, part logic, and part creativity. As such, it is difficult to measure how well your developers are doing their jobs. Personally, on my teams I tend to manage by results. If the releases are on time and of sufficient qua...