<?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>Engwar &#187; azure</title>
	<atom:link href="http://engwar.com/tags/azure/feed" rel="self" type="application/rss+xml" />
	<link>http://engwar.com</link>
	<description>Chintana Wilamuna&#039;s weblog</description>
	<lastBuildDate>Tue, 06 Mar 2012 07:32:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using PHP with SQL Azure</title>
		<link>http://engwar.com/post/191?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-php-with-sql-azure</link>
		<comments>http://engwar.com/post/191#comments</comments>
		<pubDate>Tue, 01 Dec 2009 06:53:11 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[azure]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sqlazure]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=191</guid>
		<description><![CDATA[SQL Azure is a wonderful service running the database in the cloud. This post summarizes the gotchas that you might wanna lookout for when trying to connect your PHP applications to talk to SQL Azure. The default driver php_mssql.dll doesn&#8217;t &#8230; <a href="http://engwar.com/post/191">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sql.azure.com/">SQL Azure</a> is a wonderful service running the database in the cloud. This post summarizes the gotchas that you might wanna lookout for when trying to connect your PHP applications to talk to SQL Azure.</p>
<ol>
<li>The default driver php_mssql.dll doesn&#8217;t work with SQL Azure. The Internets say that support for php_mssql is dropped from PHP 5.3. I have PHP 5.2.10 and was a bit surprised when I can connect to any SQL server instance in the network (2005/2008) using php_mssql but not to SQL Azure. The all too generic Unable to connect to server message was also not helping. You have to use the <a href="http://blogs.msdn.com/sqlphp/archive/2009/10/07/sql-server-driver-for-php-1-1-is-now-available.aspx">new MSSQL driver for PHP</a>.</li>
<li>After you download and unzip the new driver you&#8217;ll see a set of DLLs with different versions. For PHP 5.2.10 you have to use php_sqlsrv_52_ts_vc6.dll. Rename it as php_sqlsrv.dll and copy it to the &lt;PHP&gt;\ext directory.</li>
<li>Then add <code>extension=php_sqlsrv.dll</code> to your php.ini</li>
<li>After that, you have to connect to the SQL Azure database with MultipleActiveResultSets option turned off.
<pre>
sqlsrv_connect( "server_name",
    array( "MultipleActiveResultSets" => 0, ... ) );
</pre>
</li>
</ol>
<p>Voila! Now you&#8217;re all set to pull data from the clouds!</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/191/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Azure: Taking a peek</title>
		<link>http://engwar.com/post/154?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-azure-taking-a-peek</link>
		<comments>http://engwar.com/post/154#comments</comments>
		<pubDate>Thu, 19 Nov 2009 08:07:29 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[azure]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=154</guid>
		<description><![CDATA[Windows Azure is another cloud platform that can be used to deploy applications to the cloud and not worry about rest of the duct tape that&#8217;s required for smoother operation. Like many things from Microsoft, a killer feature is tight &#8230; <a href="http://engwar.com/post/154">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/windowsazure/">Windows Azure</a> is another cloud platform that can be used to deploy applications to the cloud and not worry about rest of the duct tape that&#8217;s required for smoother operation. Like many things from Microsoft, a killer feature is tight integration with Visual Studio. You can literally build and deploy applications to the cloud with a single mouse click.</p>
<p>With my experience developing applications with Microsoft technologies, the biggest gripe I have so far is the lack of flexibility. I can recall in one instance where I tried to log raw XML messages going through <a href="http://www.microsoft.com/forefront/en/us/identity-access-management.aspx">Geneva</a> libraries turned out to be very difficult. The successful documented scenarios, happy path, in other words work marvelously. Turning on WCF logging didn&#8217;t log the RST message coming to Geneva. Solution to that problem turned out to be overriding the XML writer method to write the stream to a file. Ultimately was able to get it solved without having to do that.</p>
<p>Coming back to Azure, it seems that it&#8217;s not a low level virtualized environment like <a href="http://aws.amazon.com/ec2/">Amazon EC2</a>. The lines are still blurry to me when it&#8217;s positioned somewhere in between EC2 and <a href="http://code.google.com/appengine/">Google App Engine</a>. One problem of having a platform layer (Windows Azure OS) that sits above the actual OS is, the way of doing things will be different. One major advantage of EC2 is if you boot up a Windows machine, it&#8217;s Windows. Azure, things are different. Comparing, a major advantage is things can be simplified to a jaw droppingly awesome level. With the development frabric installed which lets you test your applications on your local machine before deploying to Windows Azure platform, Windows programs you develop through Visual Studio can be deployed within seconds. You don&#8217;t have to learn any additional deployment methods. Great for application developers. If you want to do something at a lower level you need to learn more.</p>
<p>The most interesting part for me atleast is the support for FastCGI. Through that, you can call native code. Like PHP for example. The <a href="http://phpazure.codeplex.com/">PHP Azure SDK</a> seems really interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/154/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

