WPF browser applications

I have written a number of WinForms applications over the years and while I think they’re pretty great, it’s hard to showcase them to the world at large. It occurred to me that it would be fantastic if there was a way to somehow run one of these programs within a web browser. The research I did lead me to WPF XAML browser applications, which it turns out are a nifty way of doing just that.

My first and so far only attempt was a simple hosting application that had a single page with an iframe. Inside that iframe I loaded the XBAP file that referred to my WinForm app. The only real tricky part was retrofitting the app to be able to mostly do its thing in a restricted environment. But still, I’m fairly impressed that Microsoft makes this possible. It seems I should pay closer attention to WPF and what it can do.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *