Browse by Tags

29 December 2018
Default Interface Methods in C#: What Are Traits, and Why Are They Needed?
Curious to see what my fellow .Net developers/architects think of this new language feature that's been bandied about since at least early 2017, though it's now potentially slated to be included in C# 8.0. I have to admit, at first I didn't "get it" but I've been doing some... Read More...
27 March 2018
Career Advancement: The Highly Sought After Solutions Architect Role
Recently I attained the title of Solutions Architect in my career, which is exactly what I wanted to be when I embarked on this career path 16 years ago. Even though I’ve basically been doing the role of a Solutions Architect for a few years now, obtaining the official title and the official responsibilities... Read More...
23 September 2012
Template Method Implementation in C#: An Easy Way to Make Your Code Hum Along
A pet project I’ve been working on (on and off, time permitting) has been in need of some serious refactoring, so I finally sat down to eliminate some redundancy, and work on some design pattern work. A common problem in software design is making sure base class implementation is always called from overrides... Read More...
26 September 2007
Dynamically Inject Validation Controls From A Base ASP.NET Page
I've been out of work this week sick (which really sucks...I don't do very well with idle time, plus I haven't been sick enough to miss work in many years), so what better time to catch up on some blogging. We had an interesting scenario at work recently whereby we needed to dynamically attach... Read More...
17 June 2007
Syntax For Generic Type Declarations In Type Elements
I was recently working on implementing a provider based design for a project I'm working on which also happens to make heavy use of generics throughout the provider architecture. The signature of the type to be used in the <providers> section of the config file is MyType<T, V>, however... Read More...
24 May 2007
A General Generics Question -- Don't Fight The Compiler
I've got a pretty firm grasp on generics such as when to use them, why they are useful, etc. I'm with the rest of the .Net camp when I echo how extremely useful they are. I've also learned that if you're fighting the compiler on generics for more than a few minutes, there is a reason... Read More...
16 April 2007
Community Server 2007 Has Been Released
Just a few hours ago, Community Server 2007 was released into the wild! From the CS.org announcement : Today we’re proud to announce the immediate availability of Community Server 2007 – the best version of Community Server yet! There are a number of new improvements, but by far the largest is the new... Read More...
09 March 2007
VB.Net Equivalent to C# 'As' Keyword -- TryCast
[Update] Apparently the TryCast keyword was introduced in VB 2005. That miffs me a little. Actually, that miffs me a lot since this project is on .Net 1.1 with no plans to move to 2.0 any time soon. [/update] I've been plagued blessed by inheriting a VB.Net app as one of my projects at work. I am not... Read More...
04 March 2007
Required Reading -- Framework Design Guidelines
I've been slacking off a bit on my new Programming Paradigms category. Besides the usual "I have a new job and I'm busy" excuses, I've also been reading the daddy of all .Net Programming Paradigms books: Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries by Krzysztof... Read More...
14 February 2007
Using Anonymous Methods For Control.Invoke/Control.BeginInvoke
One commonality shared by most Windows Forms applications is the need for a responsive UI; this means implementing some sort of threading scheme so that processes can run on background threads so as to not interrupt the user's workflow while using the various controls placed on the UI itself. The caveat... Read More...
More Posts Next page »