Category: Dev

HTML-ifying Text in SharePoint

HTML-ifying Text in SharePoint

This has probably been done to death, but here’s my version of how to “HTML-ify” HTML text in SharePoint calculated fields into rendered HTML using jQuery:

Perhaps the most interesting part of this script is the regular expression used...

jsTree and Nested XML Data Stores

jsTree and Nested XML Data Stores

I happened upon jsTree a few months back while searching for a solid jQuery based tree. Without a doubt, it is one of the most well implemented and functional Javascript trees I’ve used with perhaps the most powerful feature being...

FluentNHibernate And NHibernate.Linq

FluentNHibernate And NHibernate.Linq

Just a little blurb on FluentNHibernate and NHibernate.Linq. I’ve been working through the samples for FNH and decided to try out some different query scenarios to see how the queries would be generated. I stumbled a bit on the first...

Paging With SPListItemCollectionPosition

Paging With SPListItemCollectionPosition

Update: see this post for how to use paging to improve retrieval of large data sets. Let it be known that Microsoft’s terrible design of list paging is inexecusable and to make matters worse, the documentation is practically non-existent. You...

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...

C# and ASP.NET Syntax Highlighting in Trac

C# and ASP.NET Syntax Highlighting in Trac

Well, spent the good amount of time trying to figure this out. See the configuration info below from my trac.ini file.

Oh yeah, it helps if you actually install Pygments, too.

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...