Nov 26

Xaml Browser Application(Xbap) is a part of Wpf that runs inside the browser. Xbap applications combine features of both web and rich window based applications. Generally xbap runs in Sandbox (Partial trust) environment where application has access to limited system resources. In this article, I will discuss various issues I have worked on while developing Xbap application like

  • “Trust Not Granted” error.
  • Installing certificates for full trust Xbap application on client machines.
  • How to use 3rd party dll in your Xbap application etc.

If you are new to xbap, you must know that for using xbap application user must have either Windows vista or .net 3.0 framework on their System.  .net 3.5 also has support for mozilla firefox and WCF service. You can deploy xbap application either in partial trust or in full trust and application will not be installed but cached into client machine. In partial trust you cannot use features like accessing client file system,common dialogs, working with registry etc , so if you publish application with above features in partial trust, you will get “Trust Not granted” error. To resolve this:-

  • Add Unrestricted=”true” into permission set of app.manifest file of your project.
  • Sign the clickonce manifest with certificate and install certificate in client machine. Installation of certificate can also automated, see this . 
Add Certificate in Trusted Publishers and Trusted Root Store of browser.

When you are using 3rd party dll in your xbap application like OpenNETCF.Desktop.Communication.dll then it will give error “Assembly generation failed — Referenced assembly ‘OpenNETCF.Desktop.Communication’ does not have a strong name”,this is because it is not signed using Certificate which you are using to sign your app.manifest. You can resolve this in 2 ways:-

  • Sign your assembly:-  sn -R “YourAssemblyName.dll” “yourpublickey.snk”
  • Or you can download the source code for that dll , add it in your project and then compile your project.

One more thing you can also add support url in Publish>Options>Support Url where user can navigate in case if there is some error in application which can have information regarding how to manually install certificate among other support information .Hope this post will help developers trying their hand at Xbap applications. easy essay writer

23,748 Responses to “Understanding Xbap: Full Trust, Partial Trust, Certificates and more…”

  1. Carmella says:


    Visit my blog post valparaiso 18 wheeler accident (Carmella)

  2. %%

    Feel free to visit my blog post – best Sex Machines

  3. Kathi says:

    You are so cool! I do not believe I’ve truly read through anything like that before.
    So wonderful to find someone with genuine thoughts on this issue.
    Really.. many thanks for starting this up. This site is something that is required on the internet, someone with a bit of originality!

    Feel free to visit my homepage roselle mesothelioma litigation (Kathi)

  4. %%

    Feel free to visit my homepage … hibbing Malpractice

  5. %%

    my blog: rockport prescription drugs (

  6. %%

    Feel free to surf to my website – Palmview Accident

  7. %%

    Here is my homepage – Vinyl fencing install – -

  8. Very nice article, just what I wanted to find.

    my webpage … trophy club mesothelioma Attorney

  9. %%

    Feel free to surf to my web-site – Pool fence Installers

  10. says:


    Feel free to visit my blog willowbrook Injury []

  11. %%

    Also visit my homepage … how to install vinyl fence (

  12. Otis says:


    Also visit my site: yorkville cerebral palsy (Otis)

  13. doors says:


    Feel free to surf to my site doors

  14. Tammara says:


    Feel free to surf to my web site – patio fitters near me (Tammara)

  15. %%

    Take a look at my website … ghostii, mccallum-lloyd.mdwrite.Net,

  16. ghost auto says:


    Also visit my web blog – ghost auto

  17. Jarred says:


    my web blog – car accident injury attorneys near me (Jarred)

  18. boundaries says:


    Stop by my web site … boundaries

  19. %%

    Look into my web site … Duluth Accident

Leave a Reply

preload preload preload