链接文本我用默认的webrole开发了一个简单的云应用程序,并实现了以下步骤。
1.使用一个默认的Webrole1创建新的云服务应用程序 2.提取“AspProviders.dll”并添加作为对当前Webrole1的引用。( “你好,” + 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 中执行应用程序
但我收到运行时错误,如“值不能为空”,堆栈跟踪如下
让我知道解决方案
谢谢。