<?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>IndianGeek &#187; windows azure programming microsoft</title>
	<atom:link href="http://www.indiangeek.net/tag/windows-azure-programming-microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indiangeek.net</link>
	<description>Perspectives on Computer Science and Software Engineering</description>
	<lastBuildDate>Wed, 30 Nov 2011 05:08:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using Windows Azure SDK with SQL Server 2005/2008</title>
		<link>http://www.indiangeek.net/2008/10/29/using-windows-azure-with-sql-server-20052008/</link>
		<comments>http://www.indiangeek.net/2008/10/29/using-windows-azure-with-sql-server-20052008/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 19:10:29 +0000</pubDate>
		<dc:creator>sijin</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[windows azure programming microsoft]]></category>

		<guid isPermaLink="false">http://www.indiangeek.net/?p=415</guid>
		<description><![CDATA[I downloaded the Windows Azure SDK today and was going through the quick starts from MSDN , the quickstarts mention that you need SQL Server Express 2005/2008 to run the samples, but I only had SQL Server 2008 developer edition installed. &#8230; <a href="http://www.indiangeek.net/2008/10/29/using-windows-azure-with-sql-server-20052008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I downloaded the <a href="http://www.microsoft.com/azure/default.mspx" target="_self">Windows Azure SDK</a> today and was going through the<a href="http://msdn.microsoft.com/en-us/library/dd179419.aspx" target="_blank"> quick starts from MSDN</a> , the quickstarts mention that you need SQL Server Express 2005/2008 to run the samples, but I only had SQL Server 2008 developer edition installed. I decided to give it a try anyways and immediately hit a snag when trying to build the samples because as expected it could not find the SQLExpress instance that it was assuming would be present on the localhost.</p>
<p>Here are the changes I had to make to get the samples and the SDK to work with SQLServer 2008 installed without an instance name on my laptop.</p>
<p>1. In Windows Azure SDK\v1.0\samples\MSBuild\Microsoft.Samples.ServiceHosting.targets , add the &#8220;/server&#8221; option to the UpdateSampleTablesDB target to make it look like</p>
<blockquote><p>&lt;Target Name=&#8221;UpdateSamplesTableDB&#8221; DependsOnTargets=&#8221;BuildSubProjects&#8221;&gt;</p>
<p>    &lt;Message Text=&#8221;$(DevTableGenCommand) /database:$(SamplesDBName) /server:localhost $(DevtableGenForceCreateFlag) @(DevTableGenAssemblies)&#8221;/&gt;</p>
<p>    &lt;Exec Condition=&#8221;&#8216;$(SamplesDBName)&#8217;!=&#8221;&#8221; </p>
<p>            Command=&#8221;$(DevTableGenCommand) /database:$(SamplesDBName) <strong>/server:localhost</strong> $(DevtableGenForceCreateFlag) @(DevTableGenAssemblies)&#8221; </p>
<p>    WorkingDirectory=&#8221;$(MSBuildProjectDirectory)&#8221;/&gt;</p>
<p>  &lt;/Target&gt;</p></blockquote>
<p>2. Change the datasource in the connection string used in  &#8221;Windows Azure SDK\v1.0\bin\DevelopmentStorage.exe.config&#8221; to localhost</p>
<blockquote><p>&lt;connectionStrings&gt;</p>
<p>    &lt;add name=&#8221;DevelopmentStorageDbConnectionString&#8221;</p>
<p>         connectionString=&#8221;Data Source=<strong>localhost</strong>;Initial Catalog=DevelopmentStorageDb;Integrated Security=True&#8221;</p>
<p>         providerName=&#8221;System.Data.SqlClient&#8221; /&gt;</p>
<p>  &lt;/connectionStrings&gt;</p></blockquote>
<p>3. Change the dbServer for the Table service in the developmentStorageConfig section to localhost in &#8220;Windows Azure SDK\v1.0\bin\DevelopmentStorage.exe.config&#8221;</p>
<blockquote><p>    &lt;services&gt;</p>
<p>      &lt;service name=&#8221;Blob&#8221;</p>
<p>               url=&#8221;http://127.0.0.1:10000/&#8221;/&gt;</p>
<p>      &lt;service name=&#8221;Queue&#8221;</p>
<p>               url=&#8221;http://127.0.0.1:10001/&#8221;/&gt;</p>
<p>      &lt;service name=&#8221;Table&#8221;</p>
<p>               url=&#8221;http://127.0.0.1:10002/&#8221;</p>
<p><span> </span>         dbServer=&#8221;<strong>localhost</strong>&#8220;/&gt;</p>
<p> </p>
<p>    &lt;/services&gt;</p></blockquote>
<p>HTH</p>
]]></content:encoded>
			<wfw:commentRss>http://www.indiangeek.net/2008/10/29/using-windows-azure-with-sql-server-20052008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

