Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

XAML Browser Applications

From Wikipedia, the free encyclopedia
File format

XBAP
Filename extension
.xbap
Internet media type
application/x-ms-xbap
Type of formatPackage management system,file archive
Container forSoftware package
Extended fromZIP

XAML Browser Applications (XBAP, pronounced "ex-bap") areWindows Presentation Foundation (.xbap) applications that were intended to run inside aweb browser such asFirefox orInternet Explorer through theNPAPI interface. Due to NPAPI being phased out in recent years[needs update], and from lack of support, there are currently no browsers that support XBAP applications.[1]

Hosted applications run in a partial trustsandbox environment and are not given full access to the computer's resources like opening a new network connection or saving a file to the computer disk and not allWPF functionality is available. The hosted environment is intended to protect the computer frommalicious applications; however it can also run in full trust mode by the client changing the permission. Starting an XBAP from anHTML page was seamless (with no security or installation prompt). Although one perceived the application running in the browser, it actually ran in an out-of-process executable (PresentationHost.exe) managed by avirtual machine.

XBAP limitations

[edit]

XBAP applications have certain 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. Nearly all standard WPF functionality, however, around 99%, is available to an XBAP application. Therefore, most of the WPFUI features are available.[2]

Starting in February 2009, XBAP applications no longer function when run from the Internet.[3] Attempting to run the XBAP will cause the browser to present a generic error message.[4] An option exists in Internet Explorer 9 that can be used to allow the applications to run,[5] but this must be done with care as it increases the potentialattack surface - and there have been security vulnerabilities in XBAP.[6]

Permitted

[edit]
  • 2D drawing
  • 3D
  • Animation
  • Audio

Not permitted

[edit]
  • Access to OSdrag-and-drop
  • Bitmap effects (these are deprecated in .NET 3.5 SP1)
  • Direct database communication (unless the application is fully trusted)
  • Interoperability with Windows controls orActiveX controls
  • Most standard dialogs
  • Shader effects
  • Stand-alone Windows

See also

[edit]

References

[edit]
  1. ^adegeo."FAQ about XBAP supportability".learn.microsoft.com. RetrievedMay 15, 2024.
  2. ^"WPF Partial Trust Security".MSDN. RetrievedFebruary 16, 2011.For XBAP applications, code that exceeds the default permission set will have different behavior depending on the security zone. In some cases, the user will receive a warning when they attempt to install it. The user can choose to continue or cancel the installation. The following table describes the behavior of the application for each security zone and what you have to do for the application to receive full trust.
  3. ^"IE9 RC Minor Changes List". February 11, 2011.
  4. ^"IE9 – XBAPs Disabled in the Internet Zone". March 9, 2011.
  5. ^"XBAP - This application type has been disabled".Stack Overflow.
  6. ^BetaFred (March 2023)."Microsoft Security Bulletin MS13-004 - Important".technet.microsoft.com.

External links

[edit]
Implementations
Architecture
Components
Tools
Decompilers
Obfuscators
IDEs
Organizations
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
Archiving only
Compressing only
Archiving
and compressing
Software packaging
and distributing
Document packaging
and distributing
Retrieved from "https://en.wikipedia.org/w/index.php?title=XAML_Browser_Applications&oldid=1295363748"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp