<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azure Support &#187; Web Role</title>
	<atom:link href="http://www.azuresupport.com/tag/web-role/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.azuresupport.com</link>
	<description>Windows Azure Tutorial</description>
	<lastBuildDate>Mon, 25 Apr 2011 10:32:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Publish and Deploy an Application on Windows Azure</title>
		<link>http://www.azuresupport.com/2010/01/publish-and-deploy-an-application-on-windows-azure/</link>
		<comments>http://www.azuresupport.com/2010/01/publish-and-deploy-an-application-on-windows-azure/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 05:34:52 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Deploy]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Publish]]></category>
		<category><![CDATA[Web Role]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=514</guid>
		<description><![CDATA[In a previous article we looked at how to build a basic Azure application using Visual Studio. We now continue with how to publish and deploy that the application. For this demo we will be deploying a Web Role on Azure. In the Visual Studio Solution Explorer right click the cloud project and select Publish&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous article we looked at how to <a href="http://www.azuresupport.com/2010/01/azure-tutorial-building-a-hello-azure-app-in-visual-studio/">build a basic Azure application using Visual Studio</a>. We now continue with how to publish and deploy that the application. For this demo we will be deploying a Web Role on Azure.</p>
<ol>
<li>In the Visual Studio Solution Explorer right click the cloud project and select Publish&#8230;<br />
 <img class="alignnone size-full wp-image-516" title="screen1" src="http://64.207.144.116/wp-content/uploads/2010/01/screen1.gif" alt="" width="242" height="186" /><br />
 This will result in Visual Studio rolling up the solution into a package containing two files &#8211; a .cspkg file which contains the code for the app and a .cscfg file which is the configuration settings for the app (as shown below). Once this is done, the Windows Azure developer portal will automatically be launched in the browser.</p>
<p><br class="spacer_" /></p>
<p><img class="alignnone size-full wp-image-518" title="ScreenHunter_02 Feb. 01 12.25" src="http://64.207.144.116/wp-content/uploads/2010/01/ScreenHunter_02-Feb.-01-12.251.gif" alt="Publish and Deploy an Application on Windows Azure" width="529" height="175" /></p>
</li>
<li>In the online Windows Azure developer portal you will already have at least one project name &#8211; click on the appropriate project name. We now need to create a hosted service to run the application, so  click New Service:<br />
 <img class="alignnone size-full wp-image-519" title="screen2" src="http://64.207.144.116/wp-content/uploads/2010/01/screen21.gif" alt="Publish and Deploy an Application on Windows Azure" width="397" height="226" /></li>
<li>On the Create A New Service page you will be presented with two options &#8211; Storage Account and Hosted Services, as we are looking to host and run an application  -  click Hosted Services.</li>
<li>Enter a Service Label which will enable you to identify this hosted service (this will not be visible to the public). The Service Description is optional.</li>
<li>On the Create A Service page enter a Public Service Name for the app. You will also need to configure the Affinity Group settings. Most applications have several parts &#8211; databases, storage, processes etc. For optimum performance these should be located as geographically close as possible to eachother.If the application is simply a  standalone app which doesn&#8217;t require any other services click the No radio button, otherwise you should create a new Affinity Group and select a geographic region (which should be the region you expect the majority of your application&#8217;s traffic to come from). Click Create once this has been done.<br />
 <img class="alignnone size-full wp-image-523" title="ScreenHunter_07 Feb. 01 13.11" src="http://64.207.144.116/wp-content/uploads/2010/01/ScreenHunter_07-Feb.-01-13.111.gif" alt="Publish and Deploy an Application on Windows Azure" width="548" height="137" /></li>
<li>Azure will now create an environment for hosting the application and you will be shown the main Hosted Service page. Click Deploy&#8230; </li>
<li>In the appropriate fields browse to the the configuration and code files which were created by Visual Studio. Enter a Service Deployment Name and click Deploy:<br />
 <img class="alignnone size-full wp-image-525" title="ScreenHunter_08 Feb. 01 13.19" src="http://64.207.144.116/wp-content/uploads/2010/01/ScreenHunter_08-Feb.-01-13.191.gif" alt="Publish and Deploy an Application on Windows Azure" width="538" height="401" /></li>
<li>The application has now been provisioned and configured but is not yet live and running. To start the application click Run. There will be a pause of several minutes while Azure starts the application. During this phase it will go through two intermediate stages &#8211; &#8216;Initalizing&#8217; (which creates the instances for running the app) and  &#8216;Busy&#8217; (which wires up the app to the load balancer and tests the app is available). Finally a &#8216;Ready&#8217; status will finally be displayed and the application is now live.</li>
<li>Click the &#8216;Web Site URL&#8217; link to see the application running live.</li>
</ol>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2010/01/publish-and-deploy-an-application-on-windows-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the Differences Between an Azure Web Role and an ASP.NET Project [FAQ]</title>
		<link>http://www.azuresupport.com/2009/12/what-are-the-differences-between-an-azure-webrole-and-an-asp-net-project-faq/</link>
		<comments>http://www.azuresupport.com/2009/12/what-are-the-differences-between-an-azure-webrole-and-an-asp-net-project-faq/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 01:42:14 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Web Role]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=222</guid>
		<description><![CDATA[An Azure Web Role is very similar to the traditional ASP.NET project. However there are three differences in the default setup: In an Azure Web Role, references are added to 3 assemblies. Diagnostics which contains all the logging and diagnostics classes, ServiceRunTime which allows access to the configuration settings and recycling of roles etc, and [...]]]></description>
			<content:encoded><![CDATA[<p>An Azure Web Role is very similar to the traditional ASP.NET project. However there are three differences in the default setup:</p>
<ol>
<li>In an Azure Web Role, references are added to 3 assemblies. Diagnostics which contains all the logging and diagnostics classes, ServiceRunTime which allows access to the configuration settings and recycling of roles etc, and StorageClient which is a .NET library wrapped around a REST interface for Blob, Table, Queue and Drive storage.
<p><img class="alignnone size-full wp-image-223" title="diff1" src="http://azuresupport.com/wp-content/uploads/2009/12/diff11.gif" alt="" width="323" height="237" /></p>
</li>
<li>
<p>There is a WebRole.cs or WebRole.vb file added to an Azure WebRole project, this file just adds some boiler-plate template code for basic Azure tasks such as setting up diagnostics and logging.</p>
<p><img class="alignnone size-full wp-image-224" title="diff2" src="http://azuresupport.com/wp-content/uploads/2009/12/diff21.gif" alt="" width="166" height="166" /></p>
</li>
<li>
<p>In the Web.Config file a trace listener is added to enable logging and debugging.</p>
<p><img class="alignnone size-full wp-image-225" title="diff3" src="http://azuresupport.com/wp-content/uploads/2009/12/diff31.gif" alt="" width="542" height="261" /></p>
</li>
</ol>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2009/12/what-are-the-differences-between-an-azure-webrole-and-an-asp-net-project-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

