It's not that uncommon to use an ID for a data object. However, sometimes more information is needed to uniquely identify an object than a number. In these cases is useful to use another object. It can contain an integer, guid, date created, created by, or even the date and time an...
[More]
Let's take a moment and think about exactly how boxed variables work when checking to see if they are equal. Here is a little Console application to do a quick comparison of how the Equals function and == operator work. using System;
using System.Collections.Generic;
using System.Linq;
using Sy...
[More]
I get a few messages about how the rights system fires many times per request and it is a lot of SQL traffic. Allow me to address this issue and introduce to your silent partner Cassini. Most developers, myself included, love being able to click the "play" icon (press F5 or select s...
[More]
I was sent a link to Caleb's blog about an ajax tooltip popup script. It's a great article but the script was a little to specific for my uses. As I played with the script I found some things I wanted to change a bit. One issue is I needed to add it to a site with jQuery 1.2.6 (a...
[More]
Asp.net has a wonderful system built in for handling user accounts and roles. The administration interface is encapsulated in a separate web site that can be accessed from within Visual Studio but it is difficult to integrate into the site. This often leads to building a new user administratio...
[More]
Ok we all know SQL2K has lost support from Microsoft. We all know it is marked with "compatibility" issues with Win2k8. But will it run? Microsoft dropped the ball on us here. They shipped Win2K8 before SQL2000. leaving those of us with giant budgets in a pick...
[More]
Not long ago I started working on changing the look and feel of the default WebService documentation that is generated by asp.net. While I demonstrated how to replace the default page template with a custom one I "glossed" over the details of what you can do with it. By using...
[More]
Web Services: they are an easy way to make information accessible or use information from some other site. For example, weather.gov's wsdl. The beauty of web services is that not all web services are .net and we don't have to care. Any web service that adheres to the w3's standards...
[More]
pre {overflow:scroll;} Delegates have been a great help to developers everywhere; coupled with Events they form the basis of every asp.net web application. Check out the page event life cycle, events are firing long before the code written by the sites developer. But what happens when...
[More]
It's no secret, I use SourceForge.net to work on an open source project ObjectHelpDesk.net and most of the code, patterns and nick nacks that I write about come from that project. I also use TortoiseSVN coupled with VisualSVN to manage my source code. Recently, as part of the Generics, I...
[More]