Entries categorized '2008' ↓

Disqus comments

Though it's a trend with some bloggers right now, I decided to pass on setting up Disqus comments with this blog, for now. I really like the idea and implementation, but my concerns are what swayed me from installing it: The comments are not stored with my blog When disqus.com goes down, I lose comments...

Continue reading →

Create and delete cookies in an iframe with IE

Internet Explorer shines yet again... I had to write a login sync for two sites (Single sign-on). So that you can log into one site and (behind the scenes) get logged into the other site. I chose to do this with iframes and all was happy. Until I had to verify that it worked in IE. IE chooses to dismiss...

Continue reading →

BinaryResult for Asp.Net MVC

I was working with the latest drop of the asp.net mvc framework and had a need to stream a pdf back to the user... A quick glance around the System.Web.Mvc namespace only yielded ContentResult. While that's cool for string content, I needed something more flexible for binary data. So I wrote the BinaryResult...

Continue reading →

Complex SQL conditional statements with SubSonic 2.1

Have you needed to do a complex where clause with a query, but didn't want to write raw SQL? That's where SubSonic expression constraints come in handy. Say you want to do something like: select * from Product where IsActive = 1 and (ExpiredOn is null OR ExpiredOn <= '01/01/2020') Using SubSonic 2...

Continue reading →

Archiving CMS type data using SubSonic

Rob Conery asked that we share some of the things that we've done with the new Subsonic , in celebration of its 2.1 release . I've been using various svn versions of Subsonic for some time now, and feel that I have a decent grasp of its new features. One thing that seems to keep coming up is the need...

Continue reading →

Iterate asp.net form validators client side

I added a client side onclick function to a submit button, but wanted to verify that the form validators were all valid before performing my magic. Unfortunately, you can't change when the validator logic gets fired, so my onclick function always gets processed before the form validation logic. Luckily...

Continue reading →

Canada 2008

Around the first week of June, I was able to relax in Ontario, Canada with my brother, dad, dad's friend Larry, and Molly. It was nice to get away for a few days and not be concerned about email, tv, and cell phones. One of the cool things about going up there this time of year is that it remains bright...

Continue reading →

Fix for GroupWise MAPI Session Handle issue

I recently paved a new machine and had to put GroupWise on it. To make a long story short, the machine got into a state where I would receive a message like "The MAPI Session Handle of the Novell GroupWise 'Object Request broker' could not be accessed. The address book cannot run" every time...

Continue reading →

The benefits of using Git for source control

I was listening to the Hansel Minutes presentation about Git tonight . Overall, it's a very cool overview talk about Git and how it relates to development and existing source control systems. A situation regarding local development came up during the talk that I've personally run into it on pretty much...

Continue reading →

Enhanced the Graffiti Extras project

I came across the Graffiti extras project today and decided to modify the sharing portion of it. I added DotNetKicks to the list of social apps and made some other minor updates as well. By far, the trickiest part for me was figuring out how to actually use the extension. Other than that, everything...

Continue reading →