[Download Sample Project]
So the ASP.NET Configuration interface allows you to design user properties, and this information goes into the web.config file. The Profile object then knows what is defined and where to go to get it in your chosen provider or data store.
One application of the Profile object is to only use session for authentication and authorization purposes and do data storage for a user in the Profile object. So change each:
session("MyVar") = 1
toprofile.MyVar = 1
andx = session("MyVar")
tox = profile.MyVar
I think the real potential for website statefulness must be measured by using a number of complex classes like a ShoppingCart and stress testing it with Microsoft Application Center, but that must wait until the RTM (Release to Manufacture) version is available. Could your website soon out-personalize Amazon?