Category: .Net

Simple (?) AJAX Upload For ASP.NET

As I was working on an AJAX upload web part for SharePoint, I looked around to see if there was anything out there that would be suitable before I rolled my own after discovering that the ASP.NET UpdatePanel doesn’t play...

SharePoint Design Patterns: Entry 2.5

SharePoint Design Patterns: Entry 2.5

In the previous entry, we looked at how we can model a SharePoint list item using a more domain specific model to simplify programmatic access to the list item thus reducing otherwise error prone data access code and making the...

Chain Of Command And Passing Parameters

One of the more useful patterns that I’ve used quite frequently is a version of Chain of Responsibility that integrates with the Command pattern. In a classic CoR, the idea is that only one component in the chain handles the...

Yet Another .NET Interview Questions List

Yet Another .NET Interview Questions List

There are tons of blog posts on .NET interview questions out there on the ‘Net; here’s another list…just because I feel like it, okay :-P? In general, when I am interviewing people, I don’t go for the obvious questions.  Not...

MbUnit CsvDataAttribute

MbUnit CsvDataAttribute

MbUnit has several cool features which distinguish it from some of the other unit testing frameworks on the .NET platform. Among them are the RollbackAttribute, PrincipalAttribute, ThreadedRepeatAttribute, and the Csv/XmlDataAttribute. I hadn’t noticed the CsvDataAttribute previously when I’ve worked with...

Automatic Properties (And Why You Should Avoid Them)

Automatic Properties (And Why You Should Avoid Them)

Ah yes, automatic properties.  Insn’t it great that you don’t have to do all of that extra typing now?  (Well, you wouldn’t be doing it anyways with ReSharper, but that’s besides the point.) For some reason, they’ve never sat well...

Why ASP.NET (webforms) Sucks.

Why ASP.NET (webforms) Sucks.

Somehow, I got into a heated discussion at work today regarding the suckitude of ASP.NET web forms development model.  As a preface, I wrote Java for four years in a college, ASP in VBScript and JScript all throughout college, ASP...

XMPP SASL Challenge-Response Using DIGEST-MD5 In C#

XMPP SASL Challenge-Response Using DIGEST-MD5 In C#

I’ve been struggling mightily with implementing the SASL challenge-response portion of an XMPP client I’ve been working on. By far, this has been the hardest part to implement as it’s been difficult to validate whether I’ve implemented the algorithm correctly...