tags:

views:

463

answers:

4

Can I deploy an XBAP without signing in full trust?

A: 

Yes. XBAP applications are restricted, and will run in a sandbox. There's no (straightforward) way of running an XBAP with full trust. The upside is that you will not have to sign it.

Tor Haugen
So you are telling me that I can just in visual studio 2008 not sign in and deploy it to IIS and give the full trust on client and wella it should run ?
abmv
+1  A: 

By default your XBAP application will run in partial trust. Here you can see the particular limitations you get with this.

If you need a full trust application you have one of the options described in this answer: either you provide a certificate with your app, or you configure an intranet CLR security policy.

UPDATE: this article is also quite good.

Yacoder
This....This intranet CLR security policy ? Can it be configured on the domain user level.So that I can just tell the system administrator to set it and my application can run without the certificate,thus reducing my deployment scenario issues or facts.
abmv
AFAIK, that's hardly possible, at least we weren't be able to do that for our app easily. I'd like to know the exact answer as well.
Yacoder
Did you buy a certificate from an provider?
abmv
Partial trust is enough for us now. Next release of WPF is said to support full-trust elevation prompt for XBAP http://aspalliance.com/1906_WPF_4_VS_2010_and_NET_40_Series_.16
Yacoder
Partial trust is enough for us now ? Wow do you work for Microsoft?
abmv
Any this stuff you mention will be like released like in 6 months time,also talks about ClickOnce not browser url xbap ???
abmv
Who knows what they are cooking up and how the hell will it work in intranet corporate environment. sucks
abmv
No, I don't work for MS, I write an XBAP app for my current employer.
Yacoder
A: 

It will be possible in .Net 4.0 planning to be released in the first half of 2010. It is now in a beta phase, but it comes with a go live license which allows you to 'go live' even with a beta version of the .Net framework.

Lars Truijens
A: 

You can have partial trust and full trust for Xbap. So, it's possible to deploy Xbap without full trust.

Michael Sync
Can I deploy XBAP to iis without signing in full trust???
abmv
if your Xbap is partial trust then you dont need to singn in full trust.. There are two types of Xbap application
Michael Sync