Archives
-
Recent Posts
Categories
Meta
Author Archives: Mel Grubb
WF Project Types
There are several templates to choose from when creating a workflow project. Empty Workflow Project Sequential Workflow Console Application State Machine Workflow Console Application Sequential Workflow Library State Machine Workflow Library Workflow Activity Library So what’s the difference and how … Continue reading
Posted in Uncategorized
Leave a comment
WaitContext: A class to disable UI controls during long-running processes
The Goal: On my current project, we need to disable the UI while performing long-running operations such as the loading and saving of data. We started off using some dirt-simple code that would wrap the long-running process in a try/finally … Continue reading
Posted in Computers and Internet
1 Comment
Linq joining to in-memory collections is bad
I found an interesting bug this morning, and figured I’d better write about it so that maybe I’ll remember to avoid it in the future. We have a Linq query that involves a couple Joins. The main table we’re interested … Continue reading
Posted in Computers and Internet
Leave a comment
Oops
I just realized that a few posts from January were in the wrong place, so I moved them to this… the correct blog.
Posted in Uncategorized
Leave a comment
Hosting the workflow rules designer
Windows Workflow foundation has a built-in dialog for editing business rules. The RuleSetDialog class gives you everything you need to edit business rules, providing Intellisense based on the type of entity you provided to the RuleSetDialog constructor. Assume we have … Continue reading
Posted in Uncategorized
1 Comment
Reflection cheat
Today I needed to retrieve a Type by name, but from a foreign assembly. Without going into the gory details, it’s related to instantiating Windows Workflow Foundation’s RuleSetDialog after a rule has been loaded in from a database. I could … Continue reading
Posted in Computers and Internet
Leave a comment
Enumerating classes which implement a generic interface
Wow… exciting topic, eh? It is actually somewhat interesting, though. Background:I’m working on a project where we’ve had to split validation away from the business entities for a couple reasons. First of all, business entities live at a lower level … Continue reading
Posted in Computers and Internet
Leave a comment
Mashed
We’re finally home from CodeMash 2008. It was great, but I’m glad to be back home to my own house and my own bed… even if the house was 53 degrees when we got here. All the sessions were great, … Continue reading
Posted in Uncategorized
Leave a comment
Two sessions down
Jeff’s Silverlight talk was pretty good. Unfortunately for me I think I’ve seen it before up at the Microsoft building. It’s a good talk, but I guess if I’d thought about it beforehand I probably should have done something else. … Continue reading
Posted in Uncategorized
Leave a comment