分享windowsazure经常出现的问题及解决方法。

nnthf 136 0

Windows Azure作为微软基于云计算的操作系统,更是微软“软件和服务”技术的名称,在它的实际操作过程中会遭遇那些问题呢?对于那些技术上的种种难题又该如何解决呢?今天小编就请教了专业人士,并为大家总结整理了windowsazure在实际操作过程中常见问题及那些的解决方案,对此有兴趣的同学们,可以来学习下哦.

【1】. Some Tips for table service.

【1.1】 修改最大连接数,如果需要。

Config file:Config file:

<system.net>

<connectionManagement>

<add address = "*" maxconnection = "24" />

</connectionManagement>

</system.net>

代码:

ServicePointManager.DefaultConnectionLimit = 24;

【1.2】 Turn off 100-continue

Config file:

  <system.net>

<settings>

<servicePointManager expect100Continue="false" />

</settings>

</system.net>

代码:

ServicePointManager.Expect100Continue = false;

【1.3】 关闭Context跟踪,如果用不上的环境(比如都是查询)

context.MergeOption = MergeOption.NoTracking;

标签: #解决方法 #windowsazure