The Magic Provider (also call Universal Providers)



My first Azure project was the migration of an existing web site in the cloud.  “Piece of cake”, I think. I was not so far, but I got one little issue why the membership and the session state.
Back then the best solution was to use the AspProviders, a project in Microsoft Azure Samples.  The projet need to add to the solution and special SQL script, done by the Azure Team, need to be run to modify the AzureSQL database.  Once some tweaks to the config files were done, it was working.  Not bad, but it could be easier.
Today, thanks to the NuGet magic, we have the ASP.NET Universal Providers! With this package we only need to execute one command: Install-Package System.Web.Providers, and voilà! No more config files manipulations, no more SQL script to run, no more nothing.   Just install and run it.
It really works! 
Install-Package System.Web.Providers
Of course it’s still in alpha (version 0.1) but it’s all ready working nice.  For a more complete introduction I suggest you to read the great post that Scott Handselman wrote on is blog: Introducing System.Web.Providers - ASP.NET Universal Providers for Session, Membership, Roles and User Profile on SQL Compact and SQL Azure.

~ Franky

References:

Lecture de la semaine #7




~ Franky

Lecture de la semaine #6

 

from BluPointe Blog

“to read more about the filter attribute, see bit.ly/kMPBYB
“The list of built-in MVC filters can be found here: bit.ly/jSaD5N
“Profiling Your .NET Code : bit.ly/dDXWsF
“ - Guide to Improving Code Performance in .NET: Part I” by Satesh Arveti on C# Corner (bit.ly/gyImk9)
- Writing Efficient C and C Code Optimization” by Koushik Ghosh on Code Project (bit.ly/icnYEi)
- Writing High Performance .NET Code” by Juan A Rodriguez and Simonijt Dutta from Intel (intel.ly/fvweaP)”
“Deploy sites to Windows Azure in less than 30 seconds Enables deployments to multiple Web Role instances using Web Deploy Saves Web Deploy packages & IIS configuration in Windows Azure storage to provide durability A web administrator portal for managing web sites deployed to the role The ability to upload and manage SSL certificates Simple logging and diagnostics tools.”
“Installing the WAAWR is as easy as download, extract, buildme.cmd and you’re done.”

~ Franky