WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

Application Model

Edit

Question

How do I create a WPF application that will be hosted in a browser?

Edit

Answer

A browser-hosted application is similar in many ways to a regular (installed) application, except that it needs to work within the restrictions imposed by the Internet Zone permission set, which means (among other things):

  • It must only use the subset of WPF elements that work with this permission set (1).
  • It must not perform filesystem IO.
  • It must not access the registry.
  • It cannot use unmanaged code.
  • It cannot launch new windows.
  • It cannot display standalone windows (e.g., dialog boxes).

(1) For a complete list of elements that are allowed, see http://windowssdk.msdn.microsoft.com/library/en-us/wpf_conceptual/html/55ca384d-fd7d-490e-9846-020b1d032483.asp

Edit

Related Links

http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/wpf_conceptual/html/0d1b40a7-069c-4832-9764-b1c6bb8900df.asp http://windowssdk.msdn.microsoft.com/library/en-us/wpf_conceptual/html/55ca384d-fd7d-490e-9846-020b1d032483.asp JavaScript Help

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.