WPF Reflections

Sep 29 2008   4:21PM GMT

WPF – hosting pages directly in the browser



Posted by: MarkWPF
Tags:
WPF
XAML
Xbap

For a description of what a page is see blog post.

Why would you want to place a page within the browser?
It means you can run the WPF application over the internet or an intranet without any installation at all.
Thus far,I’ve mainly seen browser applications used as demos.

You create one using the visual studio new wpf browser application template.

What is useful though, is that you can write all your views (or dialogs) as pages by using the <page> xml construct.
Then you can put them into a class library (dll to us old-uns).
That enables you to have one project that is a WPF application, and one browser application both references the common class library.
Both types of application can reference the pages, and bingo you maintain your ui logic in one place.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: