Healthcare Prototype Source Code Posted

The healthcare prototype source code, which we have demo’ed in one way or another many times, is now posted.   It is a very compelling prototype as far as how a particular vertical — healthcare — could take advantage of WPF.  Perhaps most interesting is its different techniques for doing data visualization, including some clever 3D work,…

6

Beware Of Intellisense: Some Methods are Hidden like Dispatcher.CheckAccess and Dispatcher.VerifyAccess

Just recently came across the fact that some methods are hidden from intellisense through the use of the [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] attribute. Two that are hidden are System.Windows.Threading.Dispatcher.CheckAccess() and System.Windows.Threading.Dispatcher.VerifyAccess().  These methods are handy when you have a multi-threaded WPF application and need to insure that you are on the UI thread before databinding or doing some…

1

Inter Process Communication Between Applications and Vista Gadgets Using WCF (Part 2)

Once I got WCF working in a gadget, another scenario came up: wouldn’t it be nice if the gadget and the application shared a data model?  The gadget could remotely databind to the same data that the application was databound to.  As such, there would be one data source, owned by the application, that the…

1

Inter Process Communication Between Applications and Vista Gadgets Using WCF (Part 1)

I recently faced the design challenge of getting an application and gadget to communicate. How to solve the problem? Well, what better way to talk between applications than Windows Communication Foundation (WCF).  After all, it is the inheritor of the .NET Remoting legacy, which is what would be used in the past. It was quite…

5

WPF 3D Performance Troubleshooting

I was recently involved in some analysis of a WPF application which used 3D heavily that wasn’t hitting its performance goals. The application was pegging the CPU and acted incredibly sluggish.  What didn’t make sense was that the CPU was getting pegged despite a video card with 256mb.  Watching Tim Cahill and company go through…

3

WPF Vista Gadgets – Part 2: Using ActiveX

In my earlier post, I talked about WPF in the Sidebar by using the IFRAME to host XBAPs.  In this post, I’ll talk about another technique: using ActiveX. For an in depth discussion of using ActiveX in gadgets, see Jaime Rodriguez’s blog post.  He’s got a bunch of great posts on gadgets in general. Before…

9

WPF Vista Gadgets – Part 1: Using XBAP and IFRAME

If you are following Vista, you are probably aware of the Sidebar, real estate on the desktop that can be used to host gadgets.  And, if you are aware of Sidebar, you might be aware that the platform for gadgets is DHTML + Javascript.  And, if you are a WPF designer/developer, you might be asking…

18

Limitations of Multiple AppDomains in WPF and The Challenges of Creating a Plug-in Architecture

AppDomains In doing some recent prototype work, the fact that WPF does not support multiple AppDomains came up.  For most people, this is not an issue, but for certain scenarios, it causes some design challenges. The most common scenario for multiple AppDomains is when creating a plug-in model for your application and loading the plug-ins…

1