September 12, 2012

• Finding App Deployment Directory from Azure WebRole

Finding which directory a Windows Azure application is deployed to is fairly straight forward for a WorkerRole, but for a WebRole hosted in IIS can be rather challenging!

This issue particularly manifests itself when your WebRole deployment contains any "data" files (such as config files) which need to be accessed from your ASP.NET application code, but can potentially be an issue from role startup code too.

Posted by Jorgen Thelin at September 12, 2012 03:35 PM | [PermaLink]