Storing database connection strings for Azure cloud services (including encypting the connection strings)

As my Surface didn’t arrive on launch day, I had nothing better to do on a Friday night so here’s a blog post on Azure configuration settings. Prior to Azure, web.config was the place ASP.NET devs would store settings.  However, as you should consider web.config read-only in Azure, you should use the Azure .cscfg instead IF…

2

Using a Windows Azure startup script to prevent your site from being shutdown

Did you know that, by default, IIS will shutdown your site upon the following events? a) After being idle for 20 minutes.b) Every 29 hours (due to recycling). The first vistor to your site after one of these events will encounter a poor user experience (slow response) whilst a new IIS app pool is initialised. …

2

Azure ASP.NET to SQL Hello World! on the Introductory offer

“Inspired” by a pub discussion with a mate last night, I finally got around to doing a “hello world” ASP.NET->SQL sample on Azure today.  Unfortunately, I couldn’t leave it up as I don’t want it to start accruing charges.  However, I included a screen capture of it running below!  I set it up under the…

0