xbap

Is WPF XAML Browser Application (XBAP) works on Android and Windows Phone browsers? What are the alternatives?

ぐ巨炮叔叔 提交于 2019-12-05 11:53:37
I want to create simple CRM website for my small company. Thanks to people on stackoverflow I assume that I can use WPF XAML Browser Application (XBAP): Does WPF XAML Browser Application (XBAP) work on Android and Windows Phone browsers? Is it suppose to be deployed on a server/cloud and then it does not matter what device, internet browser, operating system you use? This is the technology I am talking about: http://msdn.microsoft.com/en-us/library/aa970060%28v=vs.110%29.aspx If not, do I have any alternatives involving .NET? EDIT Xamaring seems tempting but I am afraid that it is too hard for

Detect network connectivity from a WPF/XBAP Application?

好久不见. 提交于 2019-12-04 21:05:07
问题 Is there any way to determine if an XBAP (WPF hosted in a browser) application has network connectivity? If not, how would a traditional windows client written in C# and .NET determine if it has connectivity? Basically the use case is an XBAP application running on a mobile laptop connected to an intranet via WiFi. The laptop will not have a connection to the Internet. The WiFi connection may or may not be there depending upon where the user is at the time. 回答1: GateWayIPAddressInformation

Dual-deploying a WPF app natively and as a XBAP

五迷三道 提交于 2019-12-04 16:56:11
How to create a WPF application that can be deployed as either a XBAP or as a native Windows application with as little overhead as possible? XBAPs are binary compatible with WPF Windows applications and run on top of the same CLR (Unlike Silverlight). They still differ in some ways. From deployment point of view their largest difference is that a XBAP has a Page control as the main container while a Windows application has a Window control. It would be rather trivial to make the Windows application use the Page control but I feel (Feel free to disagree) that using a Page navigation method in

Binding a Popup to another control's relative screen position

可紊 提交于 2019-12-04 13:01:46
I'm writing an XBAP with a complex Popup (Canvas Z-index of 99 with a grid on it...) that I would like to "attach" to the button that opens it and follow that button around wherever it goes on the screen. For example, if the button is in a ListBox or an XamDataGrid I would like the popup to follow the button as it scrolls through. If it is beneath an Expander I want it to stay attached to the button when the expander forces it to move, etc. Any Ideas? When using a Popup , neither PlacementTarget nor CustomPopupPlacementCallback is used after the popup has originally appeared. So any use of

CruiseControl.NET service failing to build due to MSBuild ResolveKeySource error, despite certificate being imported

醉酒当歌 提交于 2019-12-04 12:43:22
We just had an XBAP/WBA project added to our build server. It uses a PFX file for signing. I imported the PFX file to the CruiseControl.NET service certificate store, and can see it in the certificate store for the service. Yet we are still seeing an exception thrown by ResoveKeySource : c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets (1805,7): errorMSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the

How do I debug a published XBAP file in VS2010?

二次信任 提交于 2019-12-04 07:03:54
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 load the .xbap file, at which point it shows that there are no symbols loaded. None of my breakpoints are hit. I've tried "mage -cc" before doing this per several recommendations elsewhere. Hard-coded URL in the project's Debug panel then F5. Alternatively,

Detect network connectivity from a WPF/XBAP Application?

廉价感情. 提交于 2019-12-03 13:45:06
Is there any way to determine if an XBAP (WPF hosted in a browser) application has network connectivity? If not, how would a traditional windows client written in C# and .NET determine if it has connectivity? Basically the use case is an XBAP application running on a mobile laptop connected to an intranet via WiFi. The laptop will not have a connection to the Internet. The WiFi connection may or may not be there depending upon where the user is at the time. GateWayIPAddressInformation should work: http://msdn.microsoft.com/en-us/library/system.net.networkinformation.gatewayipaddressinformation

WPF - Switching from WPF app to xbap

别等时光非礼了梦想. 提交于 2019-12-03 13:36:27
问题 I have a working WPF application. I would like to see it running as an xbap. What do I need to change in my WPF app to make it run as an xbap? 回答1: When it comes to what you can do graphically, the only difference between the two is that XBAP can't use BitmapEffects. Other than that, the sandbox security issues are pretty much the only things you need to deal with. Most pure WPF programs should transition smoothly. Check out this comparison of the differences between WPF and XBAP. Here's a

How can I get my XBAP to run in my browser instead of downloading it on Windows 7?

别说谁变了你拦得住时间么 提交于 2019-12-01 04:12:34
On my old XP computer, running an XBAP from Visual Studio would open it up in Google Chrome. I switched to Windows 7, and now running an XBAP downloads the file like it were a ZIP or an EXE instead of opening it in the browser. The same thing happens in FireFox. Does anyone know why I am suddenly downloading the file instead of opening it? And how I can fix it? And yes, I know XBAPs are not meant to run on Chrome, but if you copy a bunch of FireFox dlls to the Google\Chrome\Application directory it runs just fine (steps here if anyone wants). Even before I had that setup, it would still try

How can I get my XBAP to run in my browser instead of downloading it on Windows 7?

ε祈祈猫儿з 提交于 2019-12-01 01:11:35
问题 On my old XP computer, running an XBAP from Visual Studio would open it up in Google Chrome. I switched to Windows 7, and now running an XBAP downloads the file like it were a ZIP or an EXE instead of opening it in the browser. The same thing happens in FireFox. Does anyone know why I am suddenly downloading the file instead of opening it? And how I can fix it? And yes, I know XBAPs are not meant to run on Chrome, but if you copy a bunch of FireFox dlls to the Google\Chrome\Application