Hi all, I am able to successfully run the code in the development fabric and the azure as well but when i'm using the aspProvider project or dll in my other projects it is throwing error Object reference not set to an instance of an object <clear/> Line 68: <add name="TableStor
ageSessionState Provider" Line 69: type="Microsoft .Samples.Servic eHosting.AspPro viders.TableSto rageSessionStat eProvider" /> Line 70: </providers> throwing error for Microsoft.Sampl es.ServiceHosti ng.AspProviders .TableStorageSe ssionStateProvi der Please let me know cant I use the AspProviders project or dll in my other projects? Thanks & Regards, Ritun
Hello: I've been trying to use that ASPProviders dll in another project and also gives me the same error. Is there any way to configure without error?
U need update the Microsoft.Windo
wsAzure.Service Runtime and Microsoft.Windo wsAzure.Storage Client version in AspProviders References.
I downloaded the source code and compiled for Azure SDK 1.8 and so far it works like a charm. Now that 2.0 storage client has breaking changes, how can we migrate and adopt the new changes ?
There is another provider on Codeplex. Which one should I use? http://azurepro
viders.codeplex .com/discussion s/348144#post83 1775
Hi, I keep on getting the following error, System.Security
.SecurityExcept ion: The provider is configured with allowInsecureRe moteEndpoints set to false (default setting) but the endpoint for the storage system does not seem to be an https or local endpoint. Please configure the provider to use an https endpoint for the storage endpoint or explicitly set the configuration option allowInsecureRe moteEndpoints to true. Even after setting the allowInsecureRe moteEndpoints to true the code still keeps on giving the same error !!! Jay.
Runs fine in my VM environment.
Hi, Which data storage location makes sense if I could have up to 100k users? I am concerned that Azure Storage tables may not be able to support so many users due to indexing limitations. If I start with Azure Storage tables can I migrate to SQL Azure at a later date? Thanks, Ant
See MSDN Article SQL Azure and Windows Azure Table Storage: http://msdn.mic
rosoft.com/en-u s/magazine/gg30 9178.aspx
This code sample is really ropy, it doesn't work in a whole bunch of scenarios. Lots of the methods throw exceptions that can't be handled and it doesn't even clean up all the blobs when Session.Abandon
() is called (delete associated blobs in RemoveItem) Has this sample even been tested or use in a real scenario?
i would think you will have to have a seperate process which loops through the sessions table periodically and delete the expired sessions.
First of all, I really appreciate time developers spent working on this code sample. Matt asked if anyone uses this code in the production. I am. Actually, I was, and had mixed experiences. :-( To be completely accurate, all the other functionalities
, except session management are fine, but sessions caused me a lot of troubles. Numerous exceptions not handled. For example, if you leave your page open in the browser (Chrome), and click on it after couple of hours, you'll end up with the infamous 310 "too many redirects" error. If the error is caused by the bad configuration, I apologize in advance. I've tested in numerous environments and had same results everywhere.