xbap

XBAP partial trust and Microsoft Office

I need to open a MS word document on the disk from a XBAP in partial trust. Is this possibly at all? I have the word doc on the server. Just getting it on the local disk is that possibly. Would a work around be to have some HTML link or web page in the XBAP, s the user could right click and save as. ...

Deploy a full trust wpf browser application (XBAP)

Hi everybody, I am building a XBAP application which required to run in a full trust environment. Thus, when using it on browser, the end-user have to install my .pfx file (to certificate my application) or receives the famous "Trust not granted" error. That make a inconvenience. So, I want that everytime the end-user access my xbap app...

how can you deploy an XBAP app with WCF connection to Self hosted service using Windows identity for authorization?

I'm having trouble finding coherent information about this deployment option for a client-server application: Client side: partial trust XBAP client windows authentication for single signon Server side: self hosted WCF service running in a windows service performing custom role authorization based on a custom authorization policy ...

Changing icon and title of partial trust WPF xbap

I've been fiddling with a partial trust XBAP - how can I change the icon shown in the IE-tab and the title (aside from changing the assembly-name in the project properties)? I would also like to change what is shown in the Internet header (right now it shows the address of the XBAP. ...

WCF reliable sessions via proxy server - not sending authentication credentials on Windows XP

Hello, I have a full trust XBAP which connects using reliable sessions to a remote service using the endpoint configuration attached below. The catch is that when running the application behind a client's organizational proxy server, the WCF requests are blocked on Windows XP but pass through fine on Windows 7. My suspicion (pending fur...

XBAP with entity framework

Hello, I am trying to write a xbap application (WPF browser application). This application need to be very simple. It doesn't have services or logic and just reads data from database by using entity framework. However, I setup a reference to entity framework in my xbap app. It tells me that "that assembly does not allow partially truste...

how to get control out of a frame in WPF xbap

For example: if I want to get txtControl and set its Text property in the code behind of subPage.xaml. Thanks, ...

how to get control out of a frame in WPF xbap

For example: if I want to get txtControl and set its Text property in the code behind of subPage.xaml. <Page x:Class="Prototype.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibil...

Visual Studio publish fails

I can rebuild and build my application without any errors, but I cannot publish it to my local IIS 7 web site. I most certainly am missing a step... It is an XBAP application that i'm trying to publish to a web site. I created the web site by manually adding web site in IIS7 with default settings. I noticed that there are no sub fol...

Is it possible to overlay HTML over XBAP?

Is it possible to overlay HTML elements over XBAP? I have an XBAP application in an iframe on a webpage, and I'm trying to overlay HTML elements over it. I can easily do it over Flash, but I have yet to figure out how to do it over XBAP. ...

Composing MEF parts when delivered via XBAP

Hi Does anyone have any examples of using MEF in an XBAP application? Is it even possible? UPDATE * It looks like it is possible, but the location of the component parts is probably different than a 'normal' MEF application. So it looks like the following code isn't quite right - can anyone suggest a change to make it load properly ...

Display gif image

Hi, When I developed my WPF PC application, I used the following code to display my gif image, as I realized that there is no easy way of doing this:- XAML: <StackPanel Height="25" Name="stkProgressBar"> <wfi:WindowsFormsHost Background="Transparent" HorizontalAlignment="Center"> <winFor...

Is it possible to have a solution that builds an XBAP and Standard Application as an output?

Hi all, Is it possible to have a project build that produces both a standard version of an application (standard as in just the exe and its required assemblies) and an XBAP version of the application? I have looked on the internet and read my books on WPF and I have not found a way to do this as of yet. Thanks for your time and I look ...

why Wpf browser application is not running properly

I am facing problem in WPF Browser application. I followed everything showed over Internet, but couldn't figure it out. I will be very glad if you please solve the problem. May be i am missing something which is not showing in the online tutorials. The error showing in my browser(IE) is: "Startup URI: D:\Personal works\R&D\Desktop\WPF...

xbap fails to load in internet explorer

There is one user who only get a dialogue box and download error when browsing to my xbap application. I've got several other client users without this problem. What could be causing internet explorer not to be able to display the xbap? ...

CD Burning within an XBAP

Hi I have an XBAP that needs to be able to burn cd's. When running from inside Visual Studio, everything works okay. However when running from a browser, the IMAPI dll reports that the environment is not supported as soon as it tries to access the drive. I am assuming this is coming down to permissioning. I have a signed certificate whi...

Has .Net 4 ClickOnce made full trust XBAPs viable?

Here's my situation. I've just started a new job and I've inherited an application recently which is going to need a rewrite. I know what you're thinking but trust me,...this really IS one of those rare cases where the system I've got is beyond refactoring and almost everything has to go. The current app is a Silverlight 2.0 app with ...

How can I programmatically deploy an .xbap to a specific folder?

I need to publish an .xbap application to a certain folder. The .xbap itself will be executed automatically. How can you publish an .xbap programmatically? Please see attached screenshot! Please use following link to see the screenshot! Unfortunately I was not able to attach it in this post! Link to screenshot ...

How do I debug a published XBAP file in VS2010?

I need to debug a full-trust application either by specifying a URL or, ideally, from within the web app I am intending to deploy it to. I've tried the following: Running "PresentationHost.exe -embedding" from the command-line, attaching through Visual Studio. The IDE shows that my breakpoints are valid until I actually attempt to lo...

WPF Web (xbap) using WCF Service throws System.Net.webPermission exception

I have an xbap application running with partial trust on my local machine's IIS 7.5. I published the WCF service to the same directery as the xbap. After jumping through some hoops I could get it working through Visual Studio for debugging perposes, but I can't seem to get it to work on an IIS server after it's published. I'm running o...