ASP.NET (MVC) application with Session State on an Azure SQL Server Database (same as app's)

I read (and tried) everything I found about this goal, but I still cannot handle it...

I found I have to run this script:

aspnet_regsqlazure.exe -ssadd -d -sstype c -S -U -P

after having downloaded the executable, but it says that:

Install Session State is not supported by aspnet_regsqlazure

...and this is only the last step I tried: when I could create (any?) tables in the database, then it always says that:

Unable to use SQL Server because either ASP.NET version 2.0 Session State is not installed on the SQL server, or ASP.NET does not have...

Is there anyone that can point me to the right (and updated!) infos on this subject?

Thanks in advance.



Use the Redis cache, it's significantly faster, easier to set up and cheaper. See the Azure Redis Cache (Preview) ASP.NET Session State Provider section of MVC movie app with Azure Redis Cache in 15 minutes

If you use the ASP.NET Universal Providers you don't need to create the session tables upfront; it will be done automatically using EF Migrations when your app starts up.

Need Your Help

Odd compiler error on if-clause without braces

java compiler-construction curly-braces

The following Java code is throwing a compiler error:

Jasmine - Running beforeAll blocks in series

javascript testing meteor jasmine meteor-velocity

Before testing a certain feature of my Meteor application with Jasmine I have to prepare different things for the tests. Therefore I use beforeAll blocks.