Select the product you need help with
How to work with XBAP in Windows AzureArticle ID: 2425647 - View products that this article applies to. On This PageINTRODUCTIONThis article describes an All-In-One Code Framework sample that is available for download. The code sample demonstrates the following typical scenario:
In the code sample, the client application is an XAML Browser Application (XBAP), and the cloud service is a Windows Communication Foundation (WCF) service hosted in a Windows Azure Web Role. Difficulty levelCollapse this image ![]() Download informationTo download this code sample, click the following link:Technical overviewDistribute XBAP from Windows Azure To distribute a XBAP from Windows Azure, use the following steps:
Note If you want to modify the original XBAP project, you must take additional steps for the changes to be reflected in the Web Role:
Access web services from XBAPIn most cases, to provide a true connected experience, the client applications that are distributed from the cloud need to invoke web services hosted in the cloud, This sample demonstrates how to access a WCF SOAP service from XBAP.The process is similar to accessing an SOAP service from a normal client. If you need to allow clients to add a service reference to your Windows Azure WCF service, you need the hotfix and workaround by visiting the following web site: 971842
(http://support.microsoft.com/kb/971842/
)
FIX: URIs in a WCF WSDL document refer to inaccessible internal instances instead of to the load balancer as expected in the .NET Framework 3.0 in Windows Server 2003, Windows XP, Windows Vista and Windows Server 2008 However, there are also a few unique tasks to perform in order to make WCF calls successful in XBAP:
Technology category
LanguagesThis code sample contains the following programming languages:Collapse this table
Prerequisites
Tags
MORE INFORMATIONWhat is All-In-One Code Framework?All-In-One Code Framework shows most Microsoft development techniques by using code samples in different programming languages. Each example is carefully selected, composed, and documented to show one common code scenario. For more information about All-In-One Code Framework, visit the following Web site:http://1code.codeplex.com
(http://1code.codeplex.com/)
How to find more All-In-One Code Framework samplesTo find more All-In-One Code Framework samples, you can simply click the following link:http://support.microsoft.com/gp/gp_kbcodefx
(http://support.microsoft.com/gp/gp_kbcodefx)
Rapid publishing disclaimerMicrosoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.PropertiesArticle ID: 2425647 - Last Review: November 17, 2010 - Revision: 6.0
|





Back to the top








