Skip to content

Commit

Permalink
updated gettingstarted.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bradygaster committed Aug 28, 2012
1 parent 1b3df07 commit b49d504
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,107 +23,107 @@ To get the site and cloud service running in Windows Azure, execute the followin

1. Log in to the Windows Azure portal.

![](Images/1.png)
![](Images/1.png?raw=true)

1. Create a new storage account to be used by the application.

![](Images/2.png)
![](Images/2.png?raw=true)

1. Create a new Cloud Service to use as the background service for the SiteMonitR application.

![](Images/3.png)
![](Images/3.png?raw=true)

1. Create a new Web Site to use to as the front-end web site for the SiteMonitR application.

![](Images/4.png)
![](Images/4.png?raw=true)

1. Go into the dashboard for the new storage account you created and click the **Manage Keys** button at the bottom of the portal. Copy the storage account's key to the clipboard.

![](Images/6.png)
![](Images/6.png?raw=true)

1. In Visual Studio 2012, expand the **SiteMonitR.Azure** project's **Roles** node. Double-click the **SiteMonitR.WorkerRole** node to open up the role's settings pane.

![](Images/8.png)
![](Images/8.png?raw=true)

1. Select the **Cloud** option from the **Service Configuration** drop-down menu.
1. Click the ellipse button next to the **SiteMonitRConnectionString** setting.
1. Enter in the storage account name and primary access key copied from the portal.

![](Images/9.png)
![](Images/9.png?raw=true)

1. Click the OK button.
1. Repeat the same steps to set the **Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString** setting.
1. Change the **GUI_URL** setting to reflect the URL of the Windows Azure Web Site you created using the Windows Azure portal.

![](Images/8-01.png)
![](Images/8-01.png?raw=true)

1. Right-click the **SiteMonitR.Azure** project and select the **Publish** menu item from the context menu.

![](Images/10.png)
![](Images/10.png?raw=true)

1. If you haven't yet imported your publish settings, click the **Sign in to download credentials** link in the publish dialog.

![](Images/11.png)
![](Images/11.png?raw=true)

1. Your web browser will open up and browse to the Windows Azure publish profile download page. When the page tries to download the publish settings file, click the **Save** button to save the file to your local workstation.

![](Images/12.png)
![](Images/12.png?raw=true)

1. Go back to Visual Studio 2012. Click the **Import** button in the publish dialog. Then, browse to the publish settings file you just downloaded and select it.

![](Images/13.png)
![](Images/13.png?raw=true)

1. Click the **Publish** button to deploy the Cloud Service to Windows Azure.

![](Images/14.png)
![](Images/14.png?raw=true)

1. The **Windows Azure Activity Log** window should open to display the Cloud Service's publishing process happening.

![](Images/15.png)
![](Images/15.png?raw=true)

1. Go back to the Windows Azure portal. Click the web site you just created to load the site's dashboard page.

![](Images/16.png)
![](Images/16.png?raw=true)

1. Once the site's dashboard loads in the browser, click the **Download publish profile** link.

![](Images/17.png)
![](Images/17.png?raw=true)

1. When the browser tries to download the file, save it to your local workstation.

![](Images/18.png)
![](Images/18.png?raw=true)

1. Right-click the **SiteMonitR.Web** project in Visual Studio 2012. Then select the **Publish** menu item from the context menu.

![](Images/19.png)
![](Images/19.png?raw=true)

1. Click the **Import** button on the publish dialog. Then, find the web site publish settings file downloaded from the Windows Azure portal.

![](Images/20.png)
![](Images/20.png?raw=true)

1. Click the **Publish** button in the dialog to publish the web site to Windows Azure.

![](Images/21.png)
![](Images/21.png?raw=true)

1. Once the site has been published, go back to the site's dashboard page in the Windows Azure portal. Click the **Configure** tab.

![](Images/22.png)
![](Images/22.png?raw=true)

1. Change the default document from **Default.htm** to **Default.html**. Then delete the other options from the list of default pages. Then, click the **Save** button to save the site configuration.

![](Images/23.png)
![](Images/23.png?raw=true)

1. Click the **Browse** button at the bottom of the web site's dashboard to browse the site.

![](Images/27.png)
![](Images/27.png?raw=true)

1. The site will open and present you with a simple form you can use to provide URL's of sites you'd like to monitor.

![](Images/28.png)
![](Images/28.png?raw=true)

1. Type in a site URL and click the **Add Site** button. The site will be added to the list of sites you are monitoring.

![](Images/29.png)
![](Images/29.png?raw=true)

1. Add in as many sites as you would like. All of the sites are monitored by the Cloud Service. Their status will update in real-time as the sites are hit by the service and reported in the web site. To remove a site, click the X button and the site will be removed from the list of sites monitored by the application.

Expand Down

0 comments on commit b49d504

Please sign in to comment.