<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Running Multiple Websites in a Windows Azure Web Role</title>
	<atom:link href="http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/</link>
	<description>From the whiteboard to the keyboard</description>
	<lastBuildDate>Thu, 09 May 2013 10:59:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Derek Hamilton</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4946</link>
		<dc:creator>Derek Hamilton</dc:creator>
		<pubDate>Mon, 28 Jan 2013 13:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4946</guid>
		<description><![CDATA[Is this considered valid?

                                                                            
...]]></description>
		<content:encoded><![CDATA[<p>Is this considered valid?</p>
<p>                                                                           <br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tips for Publishing Multiple Sites in a Web Role &#171; Michael S. Collier&#039;s Blog</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4944</link>
		<dc:creator>Tips for Publishing Multiple Sites in a Web Role &#171; Michael S. Collier&#039;s Blog</dc:creator>
		<pubDate>Mon, 14 Jan 2013 14:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4944</guid>
		<description><![CDATA[[...] Wade Wegner’s blog post - http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Wade Wegner’s blog post - http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jashoe</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4653</link>
		<dc:creator>jashoe</dc:creator>
		<pubDate>Thu, 16 Aug 2012 22:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4653</guid>
		<description><![CDATA[Have you ever tried this with WCF rather than web sites?  
*) Create a WCF Service Web Role project
*) Add a second site with a VirtualApplication tag that points to a directory containing a WCF service that was published to the file system
I have tried this with the emulator and it seems to work fine.  When I publish to Azure it seems to be confused by the multiple sites. It throws an exception on deploy trying to access e:\sitesroot\2 - but there is no such directory, the sites folders are 1 and 3. 

I am trying to create a solution that pulls WCF services into an Azure package and allows me to use the VirtualDirectory and VirtualApplication tags to build up URLs to access the services.]]></description>
		<content:encoded><![CDATA[<p>Have you ever tried this with WCF rather than web sites?<br />
*) Create a WCF Service Web Role project<br />
*) Add a second site with a VirtualApplication tag that points to a directory containing a WCF service that was published to the file system<br />
I have tried this with the emulator and it seems to work fine.  When I publish to Azure it seems to be confused by the multiple sites. It throws an exception on deploy trying to access e:\sitesroot\2 &#8211; but there is no such directory, the sites folders are 1 and 3. </p>
<p>I am trying to create a solution that pulls WCF services into an Azure package and allows me to use the VirtualDirectory and VirtualApplication tags to build up URLs to access the services.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4639</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Mon, 23 Jul 2012 19:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4639</guid>
		<description><![CDATA[Hello:
One question, is necesary put togheter in one same solution  all webSites?
 but need host some projects  webSites in one Azure Web Role, but can&#039;t  join all in one solution.
It is possible.

Regards]]></description>
		<content:encoded><![CDATA[<p>Hello:<br />
One question, is necesary put togheter in one same solution  all webSites?<br />
 but need host some projects  webSites in one Azure Web Role, but can&#8217;t  join all in one solution.<br />
It is possible.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Multiple applications per web role &#124; PHP Developer Resource</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4179</link>
		<dc:creator>Multiple applications per web role &#124; PHP Developer Resource</dc:creator>
		<pubDate>Thu, 24 May 2012 00:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4179</guid>
		<description><![CDATA[[...] Running Multiple Websites in a Windows Azure Web Role [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Running Multiple Websites in a Windows Azure Web Role [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MattD</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4099</link>
		<dc:creator>MattD</dc:creator>
		<pubDate>Wed, 09 May 2012 09:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-4099</guid>
		<description><![CDATA[Excellent Joe!!!! Works a dream!

Although you may need to add the parameter /p:AutoParameterizationWebConfigConnectionStrings=False to the msbuild line to stop it from parameterising your data connections ... that or workout a strategy to manage parameterisation properly;)!]]></description>
		<content:encoded><![CDATA[<p>Excellent Joe!!!! Works a dream!</p>
<p>Although you may need to add the parameter /p:AutoParameterizationWebConfigConnectionStrings=False to the msbuild line to stop it from parameterising your data connections &#8230; that or workout a strategy to manage parameterisation properly;)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tugberk</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-3105</link>
		<dc:creator>tugberk</dc:creator>
		<pubDate>Wed, 01 Feb 2012 15:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-3105</guid>
		<description><![CDATA[Thanks for this great post.

What I am wondering is that how  I should configure my dns records. Let&#039;s take your first multiple app sample and we would be running two sites under one role. 

In that case, what would be the dns record of www.litware.com? I went through the smarx&#039;s blog post about that but I would like to know if I should take any additional step if I use multiple sites under one role.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this great post.</p>
<p>What I am wondering is that how  I should configure my dns records. Let&#8217;s take your first multiple app sample and we would be running two sites under one role. </p>
<p>In that case, what would be the dns record of <a href="http://www.litware.com?" rel="nofollow">http://www.litware.com?</a> I went through the smarx&#8217;s blog post about that but I would like to know if I should take any additional step if I use multiple sites under one role.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-3086</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 01 Feb 2012 00:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-3086</guid>
		<description><![CDATA[Thanks for the article - but I am confused with &quot;Hit F5 and take a look at IIS&quot;  Not sure where to see the IIS.   Is this the same as CONTROL PANEL --&gt; ADMINISTRATIVE TOOLS --&gt;  IIS?]]></description>
		<content:encoded><![CDATA[<p>Thanks for the article &#8211; but I am confused with &#8220;Hit F5 and take a look at IIS&#8221;  Not sure where to see the IIS.   Is this the same as CONTROL PANEL &#8211;&gt; ADMINISTRATIVE TOOLS &#8211;&gt;  IIS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-2805</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 24 Dec 2011 11:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-2805</guid>
		<description><![CDATA[This post is getting a bit long in the tooth, but I did find a way to automate this, so I thought I&#039;d share it for anyone who happens to google their way here. Doing a manual file system publish of each site before creating the Azure package (as Bugeo suggests) can quickly become unmanageable when running a lot of sites in a single role. This is especially true if you&#039;re working in a team environment where you might not be the only person making updates to the websites.

These instructions assume:
1) The Azure project and the website projects are in the same solution
2) The Azure project is named &quot;MyAzureProject&quot;
3) The website projects live alongside the Azure project in the file system hierarchy

For example:

MySolution
&#124;- MyAzureProject
&#124;- Website1
&#124;- ...
&#124;- WebsiteN

1) For each website included in the role, right-click the project and choose Properties. On the Build Events page, set the following values.

Pre-Build Command Line:
rmdir &quot;$(ProjectDir)..&#092;MyAzureProject&#092;Sites&#092;$(ProjectName)&quot; &#047;S &#047;Q

Post-Build Command Line:
%WinDir%&#092;Microsoft.NET&#092;Framework&#092;v4.0.30319&#092;MSBuild.exe &quot;$(ProjectPath)&quot; &#047;T:PipelinePreDeployCopyAllFilesToOneFolder &#047;P:Configuration=$(ConfigurationName);PreBuildEvent=&quot;&quot;;PostBuildEvent=&quot;&quot;;PackageAsSingleFile=false;_PackageTempDir=&quot;$(ProjectDir)..&#092;MyAzureProject&#092;Sites&#092;$(ProjectName)&quot;

The post-build command will do a local file system publish of the website into the MyAzureProject&#092;Sites&#092;WebsiteProjectName directory each time you build. The pre-build command ensures that you don&#039;t accidentally have stale outputs should the website project not build correctly.

2) Right-click the Azure project and choose Project Dependencies. Make sure all of the website projects are selected. This will ensure that the website projects are always built (and published locally) before creating the Azure deployment package.

3) Edit the ServiceDefinition.csdef file as Wade describes in the section &quot;Run Two Different Projects in the Web Role.&quot; The value for each physicalDirectory attribute should be &quot;Sites&#092;WebsiteProjectName&quot; - which is the local publish destination we specified for the website project in step 1.

Now when you publish your Azure package from MyAzureProject, all the included sites will auto-magically build and publish themselves, and all necessary files (and nothing more) will be included in the package. Additionally, if any included website fails to build, then the package creation will also fail (rather than silently &quot;succeeding&quot; and creating a package with missing or stale outputs).]]></description>
		<content:encoded><![CDATA[<p>This post is getting a bit long in the tooth, but I did find a way to automate this, so I thought I&#8217;d share it for anyone who happens to google their way here. Doing a manual file system publish of each site before creating the Azure package (as Bugeo suggests) can quickly become unmanageable when running a lot of sites in a single role. This is especially true if you&#8217;re working in a team environment where you might not be the only person making updates to the websites.</p>
<p>These instructions assume:<br />
1) The Azure project and the website projects are in the same solution<br />
2) The Azure project is named &#8220;MyAzureProject&#8221;<br />
3) The website projects live alongside the Azure project in the file system hierarchy</p>
<p>For example:</p>
<p>MySolution<br />
|- MyAzureProject<br />
|- Website1<br />
|- &#8230;<br />
|- WebsiteN</p>
<p>1) For each website included in the role, right-click the project and choose Properties. On the Build Events page, set the following values.</p>
<p>Pre-Build Command Line:<br />
rmdir &#8220;$(ProjectDir)..&#092;MyAzureProject&#092;Sites&#092;$(ProjectName)&#8221; &#047;S &#047;Q</p>
<p>Post-Build Command Line:<br />
%WinDir%&#092;Microsoft.NET&#092;Framework&#092;v4.0.30319&#092;MSBuild.exe &#8220;$(ProjectPath)&#8221; &#047;T:PipelinePreDeployCopyAllFilesToOneFolder &#047;P:Configuration=$(ConfigurationName);PreBuildEvent=&#8221;";PostBuildEvent=&#8221;";PackageAsSingleFile=false;_PackageTempDir=&#8221;$(ProjectDir)..&#092;MyAzureProject&#092;Sites&#092;$(ProjectName)&#8221;</p>
<p>The post-build command will do a local file system publish of the website into the MyAzureProject&#092;Sites&#092;WebsiteProjectName directory each time you build. The pre-build command ensures that you don&#8217;t accidentally have stale outputs should the website project not build correctly.</p>
<p>2) Right-click the Azure project and choose Project Dependencies. Make sure all of the website projects are selected. This will ensure that the website projects are always built (and published locally) before creating the Azure deployment package.</p>
<p>3) Edit the ServiceDefinition.csdef file as Wade describes in the section &#8220;Run Two Different Projects in the Web Role.&#8221; The value for each physicalDirectory attribute should be &#8220;Sites&#092;WebsiteProjectName&#8221; &#8211; which is the local publish destination we specified for the website project in step 1.</p>
<p>Now when you publish your Azure package from MyAzureProject, all the included sites will auto-magically build and publish themselves, and all necessary files (and nothing more) will be included in the package. Additionally, if any included website fails to build, then the package creation will also fail (rather than silently &#8220;succeeding&#8221; and creating a package with missing or stale outputs).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-1466</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 14 Nov 2011 05:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/#comment-1466</guid>
		<description><![CDATA[Its nice one. Actually I am working in 1 Winzaure cloud project. I need your assistance guidance in it. 
First question, I configured all necessary property for symbolic link at cloud. Still its not working well. I&#039;m using PHP 5.3.6 Version. Can u guide me. how I can enable symbolic link.
Second question . When we upload/create cloud. We get administrator or guest environment. 

I tested my code on Window Server 2008. Its working well there but not in cloud. 
Thanks
Mark]]></description>
		<content:encoded><![CDATA[<p>Its nice one. Actually I am working in 1 Winzaure cloud project. I need your assistance guidance in it.<br />
First question, I configured all necessary property for symbolic link at cloud. Still its not working well. I&#8217;m using PHP 5.3.6 Version. Can u guide me. how I can enable symbolic link.<br />
Second question . When we upload/create cloud. We get administrator or guest environment. </p>
<p>I tested my code on Window Server 2008. Its working well there but not in cloud.<br />
Thanks<br />
Mark</p>
]]></content:encoded>
	</item>
</channel>
</rss>
