Tuesday, December 22, 2009

XBAP Restrictions

XBAP Restrictions
XBAP application have some restrictions on what .NET features they can use. Since they run in partial trust they are restricted to the same set of permission granted to any InternetZone application. However 99% of standard WPF functionality is available to an XBAP application. Therefore most WPF UI features are available.


Permitted


UI Controls
Text Input controls (including RichTextBox).
Flow documents and associated readers.
XPS documents
2D drawing
3D
Animation
Audio
Video
Pages
MessageBoxes
OpenFileDialog
Internal Drag and drop (mouse driven).
Calls to WCF services.
Calls to ASMX services.


Not Permitted


Stand-alone Windows.
Most standard dialogs.
Interop with Windows controls or ActiveX controls.
Access to OS drag-drop.
Bitmap Effects (these are deprecated in .NET 3.5 SP1).
Shader Effects

No comments: