WPF Browser Applications vs WPF Desktop Applications
Asked Answered
S

2

8

I want to know what are the differences between a WPF Browser Application and WPF Desktop Application. I know that the browser application runs on IE and FF, but about the technology, is the same? I mean, we can do exactly the same by the two ways? (Of course, maybe with different UI)

I have this doubt because I'm looking for a book about WPF Browser Applications, but I only see books about WPF (I don't know if is in general or is only for desktop applications :S)

Story answered 2/1, 2012 at 22:54 Comment(1)
Although being a little biased to Silverlight, this discussion may also help you... #1161270Elagabalus
C
4

A WPF Browser Application uses exactly the same framework as a WPF desktop application and could run with the same UI, but with restrictions on trust which means that some APIs are not available. There a number of challenges in developing Browser application. A Browser app must be signed with a certificate. Some of the trust restrictions are not enforced at compile time and are only discovered at run time.

In the time since Browser Applications were first introduced, Microsoft developed Silverlight which uses a similar though not identical XAML technology. Silverlight is easier to deploy than a WPF Browser Application and may be appropriate depending upon your requirements.

Cither answered 2/1, 2012 at 23:58 Comment(0)
R
1

A Browser Application not only runs in the browser but also with less authority. If you need to read and write local files then go WPF. Browser is good is you want rapid deployment to lots of PCs. Other wise I will take WPF Desktop every time. Most WPF books with have a chapter on XBAP. I like McDonald from Apress.

Renault answered 2/1, 2012 at 23:9 Comment(1)
How do I debug a failure of the component in WPF browser App which runs fine with a full WPF app?Winkelman

© 2022 - 2024 — McMap. All rights reserved.