Standing on the shoulders of giants. RSS 2.0
# Saturday, February 28, 2009

image

It doesn’t let you save anything, Windows Azure doesn’t like it when you try to write to the filesystem, but it shows the posts & loads the theme. And with only minor changes!

I used the manual from “Cloudy in Seattle” to get an existing ASP.NET app running on Windows Azure, to get started. Because ASP.NET is an older application we still had a referce to MSBuild 8.0 in the proj. file and the Azure packaging tool didn’t like that so I removed the following from the web project.

  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" 
Condition=" '$(Solutions.VSVersion)' == '8.0'" />

Further I added a dummy log file to the logs directory to make sure that directory was avaialble got created. And made sure all files which are required have the Build action set to content:

image

The final thing to do is make sure you use the IIS 7 web.config file and disable tracing.

<trace enabled="false" />
Saturday, February 28, 2009 8:59:57 AM (Pacific Standard Time, UTC-08:00)  #    Comments [2] - Trackback
dasBlog | WindowsAzure
Saturday, March 14, 2009 11:26:30 AM (Pacific Standard Time, UTC-08:00)
Nice one. Not having looked at Azure at all yet - I wasn't entirely sure what you meant about Azure not liking it when you try and write to the filesystem? Is this an early Azure issue? Or a restriction on the Azure account?
Saturday, March 14, 2009 11:53:28 AM (Pacific Standard Time, UTC-08:00)
Azure runs in a slightly modified version of medium trust, which only allows you to read from the filesystem. So all user changable content has to come from the Azure Storage system.
Comments are closed.
Ads
About
© Copyright 2012
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.2011.0
All Content © 2012, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)