Likes

Developing Windows Azure and Web Services Lab @ 2 Ans 1

In this exercise, you will learn to host products on the Windows Azure cloud by using Windows Azure SQL Database and Windows Azure Web Site.



To host products on the Windows Azure cloud by using Windows Azure SQL Database and Windows Azure Web Site, you need to perform the following steps:
1. Login into the Windows Azure account to access the Windows Azure Management Portal at https://manage.windowsazure.com.
2. Click WEB SITES in the navigation pane.
NEW
3. Click the NEW button.
4. Click QUICK CREATE.
5. Type BlueYonderLocations in the URL text box.
6. Select specific region from the REGION drop-down list.
7. Click the CREATE WEB SITE link, and wait until the Web Site is created and its status changes to Running.
8. Click the name of the new Web Site.
9. Click the DASHBOARD link.
10. Click the Download the publish profile link under the quick glance section on the right side. At the bottom of the Internet Explorer window, a prompt appears.
11. Click the arrow within the Save button.
12. Select the Save as option. The Save As dialog box is displayed.
13. Browse to the location where you want to save the publish profile.
14. Click the Save button.
15. Open Computer windows by pressing the Windows logo and E keys together.
16. Browse to the location where you have saved the Exercise 04.zip file.
17. Extract the Exercise 04.zip file.
18. Double-click the Exercise 04 folder.
19. Double-click the BlueYonder.Model folder.
20. Double-click the BlueYonder.Model.sin file. The BlueYonder.Model - Microsoft Visual Studio windows is displayed.
21. Ensure that the Solution Explorer window is opened.
22. Right-click the BlueYonder.MVC project, and then select Publish from the context menu. The Publish web application page of the Publish Web wizard is displayed.
23. Click the Import button. The Import Publish Settings dialog box is displayed.
24. Browse to the location where you have saved the publish settings.
25. Select the publish settings file.
26. Click the Open button.
27. Click the Publish button. Microsoft Visual Studio 2012 builds and publishes the application. Further. Microsoft Visual Studio 2012 opens Internet Explorer and browses to the Web Site after the deployment finishes.
28. Append api/locations to the address in the address bar. and then press the Enter key. At the bottom of the Internet Explorer window, a prompt appears.
29. Click the Open button.
30. Select Notepad from the list of available programs, if you are prompted to select a program to open the file. When Notepad opens, you should see a list of Location entities, encoded with the JSON format.
31. Close Notepad.
32. Switch to the Internet Explorer window in which Windows Azure Management Portal is opened.
33. Click SQL DATABASES in the navigation pane on the left side. The sql databases page is displayed.
34. Click the SERVERS link.
35. Click the STATUS column.
36. Click the DELETE button in the bottom pane. The DELETE SERVER CONFIRMATION dialog box is displayed. Type the name of the server in the CONFIRM SERVER NAME text box.
37. Click the OK (I_______ button. The database server is deleted.
38. Click the user icon in the upper-right corner of the Windows Azure page. A context menu is displayed. Select Sign out.
39. Close the Internet Explorer window.
Note: If Internet Explorer message box is displayed, click the Close all tabs button.
40. Switch to Microsoft Visual Studio 2012.
41. Close Microsoft Visual Studio 2012.

No comments: