Cloud Computing with the Windows Azure Platform by Roger Jennings

Cloud Computing with the Windows Azure Platform by Roger Jennings

Author:Roger Jennings
Language: eng
Format: epub, pdf
Publisher: John Wiley & Sons
Published: 2010-12-15T16:00:00+00:00


Sign in with your WLID to display the WLID sign-out page, which displays your PUID for the application (see Figure 6.25).

Figure 6.25 The C# WebAuth site's sign-out status.

You import code from the WebAuth.sln project's WindowsLiveLogin.cs class as well as the Default.aspx and webauth_handler.aspx pages to the LiveIDSampleCloudService.sln project, which you create later in the chapter.

The \WROX\Azure\Chapter06\LiveIDSampleCloudService folder contains a working version of the sample project that runs on the Development Fabric. You must register the project with the Return URL for the webauth_handler.aspx page (http://localhost:##/webauth-handler.aspx, where ## is the port number, usually 81) and substitute your values for wll_appid and wll_secret in Web.config.

Installing the Windows Live Tools for Visual Studio

Installing Windows Live Tools for Microsoft Visual Studio 2008+ is optional because WebAuth's code in the Default.aspx page imports a WebAuth.htm login control to an IFRAME from http://login.live.com/controls/. Windows Live Tools adds a Windows Live group to the VS Toolbox that includes IDLoginStatus and IDLoginView ASP.NET server controls, as well as MessengerChat, SilverlightStreamMedia and Contacts controls, and a Virtual Earth group, none of which are related to WLID. Installation also adds a Windows Live ID Web Role template to VS's New Project dialog (see Figure 6.26).

Figure 6.26 The Windows Live ID Web Role template added by Windows Live Tools for VS.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.