Welcome to MSDN Blogs Sign in | Join | Help

Lester's WPF blog


Simple, easy & beautiful

News

New WPF Features: Full Trust Xbap Deployment

This is part of a series on New WPF Features 

In earlier versions, on trying to deploy a Full Trust Xbap, you would get a "Trust Not Granted" error. Its possible to workaround this issue by installing an assembly in the GAC that has the AllowPartiallyTrustedCallersAttribute. Another option is to install a certificate on the user machine and sign the Xbap with the certificate. Yeah, its painful and we worked on this issue for this release

Now on deployment, you would get a clickonce dialog so that the user can determine if s\he want to run the Xbap. This is really beneficial in the case of Intranet deployment. Do I hear a WOW.. :)

Below is the pictorial difference..

 

In addition, clicking on the More Information link open up a dialog with additional information that would enable the user to make a more knowledgeable decision about installation

Share this post

 

Posted: Friday, November 06, 2009 3:49 PM by llester

Comments

Michael Sync said:

Great. This is good feature.. We ended up having the certification when we were developing full-trust xbap app.

# November 7, 2009 10:33 AM

Patrick Oliveros said:

This is one pain that I have to deal with XBAPs before. Even if I set the project to full-trust settings, it still won't run when the application is deployed. Gotta have to try this one when I reach home. Great job guys!

# November 8, 2009 7:12 PM

Michael said:

Once you click to allow it to be run the first time, will the user continue to see the same security prompt each time they return?  Thanks!

# November 12, 2009 6:31 AM

llester said:

As long as there are no updates to the app, the user wouldnt be shown the security prompt the second time.

# November 12, 2009 8:19 AM
New Comments to this post are disabled
Page view tracker