<?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; Visual Studio</title>
	<atom:link href="http://www.azuresupport.com/tag/visual-studio/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>Azure Tutorial &#8211; Building a &#8216;Hello Azure&#8217; App in Visual Studio</title>
		<link>http://www.azuresupport.com/2010/01/azure-tutorial-building-a-hello-azure-app-in-visual-studio/</link>
		<comments>http://www.azuresupport.com/2010/01/azure-tutorial-building-a-hello-azure-app-in-visual-studio/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 08:04:58 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=163</guid>
		<description><![CDATA[The first thing to do is download and install the Azure Tools &#38; SDK , this installs the Visual Studio templates as well as a simulated Azure environment on your local machine.  To run the development environment from Visual Studio, you will need to run the Visual Studio as an admin. In Visual Studio, start [...]]]></description>
			<content:encoded><![CDATA[<p>The first thing to do is download and install the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6967ff37-813e-47c7-b987-889124b43abd&amp;displaylang=en">Azure Tools &amp; SDK</a> , this installs the Visual Studio templates as well as a simulated Azure environment on your local machine.  To run the development environment from Visual Studio, you will need to run the Visual Studio as an admin.</p>
<p>In Visual Studio, start a Cloud Project from File -&gt; New Project&#8230; . In the New Project dialog select either Visual Basic -&gt; Cloud Service or C# -&gt; Cloud Service:<br />
 <img class="size-full wp-image-175 alignnone" src="http://azuresupport.com/wp-content/uploads/2009/12/ScreenHunter_01-Dec.-27-13.271.gif" alt="" width="642" height="433" /></p>
<p><br class="spacer_" /></p>
<p>Next, select the type of role for to be used. In this demonstration we will select an ASP.NET Web Role which is similar to an ASP.NET website.  Highlight &#8220;ASP.NET Web Role&#8221; and click the &#8216;&gt;&#8217; button:</p>
<p><img class="alignnone size-full wp-image-169" title="azure" src="http://azuresupport.com/wp-content/uploads/2009/12/ScreenHunter_02-Dec.-27-13.281.gif" alt="" width="642" height="400" /></p>
<p><br class="spacer_" /></p>
<p>Then name the ASP.NET Web Web Role:</p>
<p><img class="alignnone size-full wp-image-167" title="Load" src="http://azuresupport.com/wp-content/uploads/2009/12/ScreenHunter_03-Dec.-27-13.292.gif" alt="" width="642" height="399" /></p>
<p><br class="spacer_" /></p>
<p>The local Azure application is now created. There are two parts to the solution &#8211; the Cloud Service (&#8220;CloudService2&#8243;) which contains definitions and configurations for running the app on Azure, and the Web Role (&#8220;Hello&#8221;) which is the ASP.NET website. You add some functionality to the default.aspx page at this stage if you wish.</p>
<p><img class="alignnone size-full wp-image-179" title="hello2" src="http://azuresupport.com/wp-content/uploads/2009/12/hello21.gif" alt="" width="230" height="268" /></p>
<p>NOTE &#8211; To add Roles to the solution, right-click on the Roles folder in the Solution Explorer and select Add and select the Role to add to the solution.<br class="spacer_" /></p>
<p>In the Solution Explorer double-click CloudServices2 -&gt; Roles -&gt; Hello. This loads the configuration settings for the Azure application. In this example we will be changing the Instance count to 2. This will result in our app being run on two instances and enjoying automatic load-balancing between the two instances. Once this change has been made, Hit F5 to run the application.</p>
<p><img class="alignnone size-full wp-image-180" title="helloworld3" src="http://azuresupport.com/wp-content/uploads/2009/12/helloworld31.gif" alt="" width="634" height="452" /></p>
<p><br class="spacer_" /></p>
<p>Once the web page is running there should be a blue Windows Azure Simulation Environment icon in your desktop icon-tray. Right click this and select Show Development Fabric UI to launch the Development Fabric tool. The Dev Fabric is the tool to interact, view and control the local Azure Environment. Expanding the nodes will show two green nodes below the Hello Role. These are the two instances of the ASP.NET application. Selecting them will bring up the running info of the instance.</p>
<p><img class="alignnone size-full wp-image-181" title="helloworld4" src="http://azuresupport.com/wp-content/uploads/2009/12/helloworld41.gif" alt="" width="642" height="492" /></p>
<p><br class="spacer_" /></p>
<p>That&#8217;s it! this has been an extremely brief run through and in later articles we will go into greater depth. Next, we can move on to <a href="http://www.azuresupport.com/2010/01/publish-and-deploy-an-application-on-windows-azure/">Deploying the App on Azure</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2010/01/azure-tutorial-building-a-hello-azure-app-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

