<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Just another coder</title>
	<atom:link href="http://becoder.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://becoder.wordpress.com</link>
	<description>Just another coder</description>
	<lastBuildDate>Thu, 01 Oct 2009 04:42:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='becoder.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Just another coder</title>
		<link>http://becoder.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://becoder.wordpress.com/osd.xml" title="Just another coder" />
	<atom:link rel='hub' href='http://becoder.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Azure: How to imgrate your Website project (to the cloud)</title>
		<link>http://becoder.wordpress.com/2009/10/01/azure-how-to-pack-a-website-project/</link>
		<comments>http://becoder.wordpress.com/2009/10/01/azure-how-to-pack-a-website-project/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 03:51:31 +0000</pubDate>
		<dc:creator>Boon Kiat Tan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://becoder.wordpress.com/?p=21</guid>
		<description><![CDATA[If you are migrating your Website Project to Azure, you are quite likely to have the problem like I did &#8211; Microsoft VS.NET only supports WebRole and WorkerRole. Azure WebRole model is similar to WebApplication model in VS.NET, all the classes are compiled into single assembly. First of all, if you want to use all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=becoder.wordpress.com&amp;blog=9623004&amp;post=21&amp;subd=becoder&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are migrating your Website Project to Azure, you are quite likely to have the problem like I did &#8211; Microsoft VS.NET only supports WebRole and WorkerRole.</p>
<p>Azure WebRole model is similar to WebApplication model in VS.NET, all the classes are compiled into single assembly. First of all, if you want to use all of your files under WebSite project for WebRole, you have to port the files to WebApplication first.  In order to do that, you have to go through number of steps to convert WebSite to WebApplication and include all the converted files into your WebRole project, there isn&#8217;t an easy way for copy-and-paste for Website to WebApplication conversion, here is the link for the conversion</p>
<p><a href="http://geekswithblogs.net/Mohamed/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx">http://geekswithblogs.net/Mohamed/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx</a></p>
<p>If you don&#8217;t feel comfortable to convert your project( like I did, and it&#8217;s quite error-prone), you have to manually pack your .aspx pages and dlls into the container file.</p>
<p><strong>Here is the few steps:</strong></p>
<p>(1) Publish your Website project to a folder (for my case is &#8220;<strong>PrecompiledWeb\WebSite1</strong>&#8220;, which resides in the sub folder of your azure project)</p>
<p>(2) Modify your service definition(.csdef), adding a webrole</p>
<blockquote><p>&lt;WebRole name=&#8221;WebSite1&#8243; enableNativeCodeExecution=&#8221;true&#8221;&gt;<br />
&lt;InputEndpoints&gt;<br />
&lt;InputEndpoint name=&#8221;HttpIn&#8221; protocol=&#8221;http&#8221; port=&#8221;80&#8243; /&gt;<br />
&lt;/InputEndpoints&gt;<br />
&lt;ConfigurationSettings /&gt;<br />
&lt;/WebRole&gt;</p></blockquote>
<p>(3) Run the following command(CSPack) at command prompt</p>
<p>cspack CloudService1\ServiceDefinition.csdef /role:WebRole4;WebRole4 /role:WorkerRole1;WorkerRole1\bin\Debug;WorkerRole1.dll <strong>/role:WebSite1;PrecompiledWeb\WebSite1</strong> /out:CloudService1.cspkg /generateConfigurationFile:&#8221;ServiceConfig.cscfg&#8221;</p>
<p>(4) You are done!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/becoder.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/becoder.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/becoder.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=becoder.wordpress.com&amp;blog=9623004&amp;post=21&amp;subd=becoder&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://becoder.wordpress.com/2009/10/01/azure-how-to-pack-a-website-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea534b99c47292f72cce4eef0f984582?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Boon Kiat Tan</media:title>
		</media:content>
	</item>
		<item>
		<title>Go Cloud</title>
		<link>http://becoder.wordpress.com/2009/09/25/go-cloud/</link>
		<comments>http://becoder.wordpress.com/2009/09/25/go-cloud/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 03:01:07 +0000</pubDate>
		<dc:creator>Boon Kiat Tan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://becoder.wordpress.com/?p=5</guid>
		<description><![CDATA[It has been a while Microsoft releasing its first cloud platform &#8211; Azure. For a small start up like us has been using Microsoft technologies to build our services for couple of years now to embrace a new platform, it always requires some additional efforts and time for the migration. We think that the effort [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=becoder.wordpress.com&amp;blog=9623004&amp;post=5&amp;subd=becoder&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has been a while Microsoft releasing its first cloud platform &#8211; Azure. For a small start up like us has been using Microsoft technologies to build our services for couple of years now to embrace a new platform, it always requires some additional efforts and time for the migration.</p>
<p>We think that the effort is justifiable to move to cloud, because we were struggling to build a scalable platform and we are a small start up with limited resources &#8211; the investment has to be worthwhile. Aside from scalability advantage, most of the cloud vendors like Amazon, Joyent, Microsoft offer pay-as-you-go charging model.</p>
<p>A recent <a href="http://www.techcrunch.com/2009/09/24/microsoft-ballmer-interview-exclusive-techcrunch-bing-mobile-azur/" target="_blank">interview </a>with Microsoft CEO, Steve Ballmer, he regards cloud computing as &#8220;fundamental shift in the computing paradigm.&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/becoder.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/becoder.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/becoder.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=becoder.wordpress.com&amp;blog=9623004&amp;post=5&amp;subd=becoder&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://becoder.wordpress.com/2009/09/25/go-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ea534b99c47292f72cce4eef0f984582?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Boon Kiat Tan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
