鏈接textI我開發了一個簡單的具有默認webrole的雲應用程序,並執行以下步驟。Azure應用程序中的會話管理
1.使用一個默認Webrole創建新的雲服務應用程序 2.提取「AspProviders.dll」並添加爲當前Webrole1的引用。 3.加入新的網絡形式向現有的網絡作用,並把它命名爲爲Login.aspx 4的Login.aspx的設計頁面編輯如下 5.下面一行在頁面加載添加事件Default.aspx Response.Write(「Hello,」+ Server.HtmlEncode(User.Identity.Name)); 6.用下面的編輯的web.config改變 .................
<!--Below lines are added to avoid error occured related to Insecure end points connection -->
................. ................. ................ ................ ......... ........
<sessionState mode="Custom" customProvider="TableStorageSessionStateProvider">
<providers>
<clear />
<add name="TableStorageSessionStateProvider"
type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider"
applicationName="SampleCloudApp"/>
</providers>
</sessionState>
<!--End-->
............ ..... ...............`` .............. 7.伏法在當地DevFabric
但我越來越喜歡「值不能爲空」運行時錯誤的應用程序,堆棧跟蹤是類似於以下
讓我知道這個
感謝解決方案。