Quantcast
Channel: Net Knowledge
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Fixing 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 Article

Image may be NSFW.
Clik here to view.

Entity 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 Article

Image may be NSFW.
Clik here to view.

What 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 Article

Image may be NSFW.
Clik here to view.

Workaround 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 Article


Image may be NSFW.
Clik here to view.

DataEventArgs: 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 Article

Image may be NSFW.
Clik here to view.

Catch 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 Article

Image may be NSFW.
Clik here to view.

Lifecycle 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 Article


Image may be NSFW.
Clik here to view.

Fixing 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 Article


Image may be NSFW.
Clik here to view.

Getting 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 Article

Image may be NSFW.
Clik here to view.

Unit 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 Article

Image may be NSFW.
Clik here to view.

Create 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 Article

Image may be NSFW.
Clik here to view.

Welcome, 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 Article


Image may be NSFW.
Clik here to view.

Study 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 Article

Image may be NSFW.
Clik here to view.

NHibernate 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 Article


Image may be NSFW.
Clik here to view.

Control 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 Article

Image may be NSFW.
Clik here to view.

New 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 Article


Image may be NSFW.
Clik here to view.

January 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 Article

Image may be NSFW.
Clik here to view.

Assembly '' 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 Article

Image may be NSFW.
Clik here to view.

Upgrade 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 Article
Browsing all 25 articles
Browse latest View live




Latest Images