Archive for the ‘.NET Coding’ Category

A Misadventure in (someone else’s) GoF Land

It’s ok to decouple your design from your implementation, as long as you eventually get to the implementation.

Read the rest of this entry »

I’m a convert… Well, lets say I’m Converting

ASP.NET MVC. I know I’m not the first on this train. I don’t know why it took me so long… Ok, yes I do, and I’m going to tell you, in a longer than average anecdotal story about the problem: Ruby-on-Rails. People talk about Ruby like it’s the best thing since sliced [...]

Read the rest of this entry »

Bad Microsoft!

Eating your own dogfood again Microsoft?

Read the rest of this entry »

Quick, just had to say something

This guy, Daniel Pollard, has a really cool blog with lots of neat asp.net/SharePoint/Webparts ideas and examples on it. It’s a good thing not to miss. He also notes that “JQuery is the Jessica Alba of JavaScript,” which I found terribly amusing. Ok. That’s it. Just an unsolicited advertisement for his blog [...]

Read the rest of this entry »

Parameterizable SharePoint SqlQueryWebPart

I’ve been so frustrated with the lack of a flexible way to just display the output of a raw SQL Query via SharePoint so I wrote one.
At first I thought I didn’t need parameters, but I was wrong. Everyone needs parameters, or else it’s not all that useful. Of course, that [...]

Read the rest of this entry »

Last Name Generator

If you’re trying to work with a ton of fake data, sometimes writing the code that generates all the fake stuff, yet still makes some bit of sense is an annoying and time consuming process. I think so too. Here, have a pronounceable (I think in most cases) LastNameGenerator class to help you on your [...]

Read the rest of this entry »

Custom SharePoint Workflow MetaData

Have you ever wondered what VooDoo is going on in the “MetaData” element in the sharepoint workflow template definition (Workflow.xml)? No? Well I have.
It’s not documented, but you can read it using the SharePoint Workflow API. (The method you can call is documented, that is, listed, in the MSDN documentation. It’s not actually [...]

Read the rest of this entry »

Ok, I promised a better LINQ example..

So, I made one, except I posted it on CodeProject instead of this blog. I figured with this thing I wanted to get a lot of people in the audience. Not to mention that makes free advertising for me and my blog anyway.

Read the rest of this entry »

Down the rabbit hole with LINQ-to-SQL.

Man, just when I thought I was starting to get the hang of LINQ-to-SQL and knowing what kind of cool features it has, I ran into some interesting problems. For one the DataContext needs to have an ‘appropriate lifetime’ which means you have to play around with it, there aren’t real standards. The [...]

Read the rest of this entry »

WSSWebServicePackager tool – Deploy Custom Web Services in Sharepoint

I had already slogged through the publishing of my own web services in Sharepoint a few times, as directed by The Horses Mouth. It’s not pretty, and it’s not fun. Takes about 20 minutes to half an hour, could be faster if you really know how to do it, I guess I’m just [...]

Read the rest of this entry »