Installing HP 6310 All-in-one on a server
Although intended for a desktop environment, the software for the HP 6310 Printer can be installed on a server machine (win2k or win2k3). Just follow these instructions:1. Copy all the contents of the...
View ArticleFixing Smart Tags after installing LINQ/Entity Framework preview
If you're going to play around with the new Entity Framework August 2006 CPT, you'll have to install the May CTP of LINQ. A nasty side affect of that installation is that it wipes out some of your...
View ArticleEntity SQL Quick Reference Guide: Get your copy
After you install the ADO.NET vNext August 2006 CTP, check out the eSQL quick reference guide in C:\Program Files\Microsoft SDKs\ADO.NET vNext CTP\Docs. It lists some of the more common keywords for...
View ArticleWhat is a WorkItemExtension?
The Composite UI Application Block (CAB) is all about writing loosely coupled plug-in modules for Smart Client apps. What happens when someone has written a module and you want to enhance its behavior...
View ArticleWorkaround for Injecting menu items into CAB Shell MenuStrip
Anyone who has worked with CAB for a while has probably been bitten by a limitation of the UIExtensionSite when adding menu items into the shell from a module. The limitiation is that the...
View ArticleDataEventArgs: a generic EventArgs Class
Back in the bad old days, before generics, writing custom event handlers to pass additional data to the event subscriber was a pain in the butt. With the built in .NET 1.0 EventHandler you can signal...
View ArticleCatch First Chance Exceptions to debug CAB Pub/Sub Events
Debugging the Composite UI Application Block EventBroker can be a lesson in frustration. Often, an event subscription can do something substantial such as show a View or run a WorkItem. Should the...
View ArticleLifecycle of a WorkItem
An important facet of programming with the Composite UI Application Block is understanding the sequence of events that fire during the lifetime of a WorkItem. For example, in the Activate event for...
View ArticleFixing the "There is already an open DataReader associated with this Command...
Once you get your model, database and mapping metadata files configured correctly for Entity Framework, one of the first exceptions that you're likely to face is the DataReader already open exception....
View ArticleGetting Started with WCF in Vista RC1
At my current gig, we're getting ready to use Windows Communications Framework as the platform for our middle tier. Here's the simplified instructions on how to get rolling.On a pristine machine with...
View ArticleUnit testing Composite UI Application Block modules
Unit testing of CAB modules can be difficult because of all the dependency injection going on. Typically you will unit test at least all your presenters. The problem is that you will probably need the...
View ArticleCreate a custom IWorkItemActivationSerivce for the Composite UI Application...
Sooner or later, I'm convinced that most advanced implementations of CAB will have to write their own version of the IWorkItemActivationService. The WorkItemActivationService is closely tied into the...
View ArticleWelcome, PJ!
My first son was born to us this week, entering into the world happy and alert. What a change! Now my days are filled with baby bottles and diaper changing. Here's a look at him during the weigh in.
View ArticleStudy Links for 70-553: Upgrade to Enterprise Developer
Since I have a couple of exam certificates that are expiring at the end of the year, I've decided to use them to get certified as an Enterprise Developer. The upgrade is spread over two exams 70-553...
View ArticleNHibernate on ASP 2.0 Web Site Project and 2005 Web Developer Express
Many people (including myself) have had difficulties getting NHibernate to work with ASP.NET 2.0. The usual problem centers around how to get NHibernate to read in the configuration files for your...
View ArticleControl WCF Serialization of Collections with IXmlSerializable
WCF doesn't always serialize custom collections of objects the way that you would like. For example, a Family may have a collection of Members. public class SerializeObjectModel { [DataContract(Name =...
View ArticleNew project for 2007
Next week I start a new project for one of my clients. Its a premier project for the company that will be using the latest .NET 3.0 technologies: Windows Presentation Foundation, Windows Workflow...
View ArticleJanuary 2007 Orcas CTP: Don't bother
I spent the better part of a day downloading and setting up the new Orcas in anticipation of playing with .NET 3.0 and 3.5 (Greenbits). Unless you want to play with Entity Framework in its "Raw" format...
View ArticleAssembly '' was not found. The 'clr-namespace' URI refers to an assembly that...
It almost seems like a cruel joke. Innumerable WPF samples indicate that you can implement databinding in a particular way. However, doing so breaks designer support and you have to rearrange code to...
View ArticleUpgrade Winforms 2005 project to WPF
Lately I've been upgrading my Winforms CAB applications to use the Windows Presenation Framework version of the Composite Application Block. This post will explain how you can do an "in place"...
View ArticleDon't serialize your delegates!
This point is pretty obvious: when serializing objects in order to pass them through a service boundry, you should not bother to serialize the delegates. Since a delegate is a pointer to some method on...
View ArticleDebugging WCF Serialization issues
When serializing objects over WCF you might encounter the following not-so-helpful message.System.ServiceModel.CommunicationException : The underlying connection was closed: The connection was closed...
View ArticleRUAlive - a WPF tool to check if a website is running.
RUAlive is a WPF utility that answers the question "Is my website still running?"RUAlive is written using Visual Studio 2008 Beta 2 Orcas. Download the source here.To run RUAlive, you can either run...
View ArticleMaking Cuyahoga and Community Server play nice together
I use Cuyahoga for my main website pages and relegate Community Server to be a subservient web app to take advantage of its blog and forums components. The latest Cuyahoga 1.5 upgrade threw a small...
View ArticleRUAlive 0.2 released
A new version is available. See the end of the post for a link. Major enhancements are support for mutliple sites, ability to view the response and the beginnings of a Vista Gadget implementation.
View Article