Windowsazure often problems and solutions (1)

  
WindowsAzure as Microsoft's cloud-based operating system, is the name of Microsoft's "software and services" technology, what problems will it encounter in its actual operation? For those technologies How can we solve the various problems? Today, Xiaobian consulted the professionals, and summarized the common problems and solutions of Windowsazure in the actual operation process. Students who are interested in this can learn. .

[1] .SomeTipsfortableservice next Oh.

[1.1] modify the maximum number of connections, if required.

Configfile: Configfile:

& lt; system.Net & gt;

& lt; connectionManagement & gt;

& lt; addaddress = "*" maxconnection = "24" /& gt;

& lt; /connectionManagement & gt;

& lt; /system.Net>

Code:

ServicePointManager.DefaultConnectionLimit = 24;
[1.2]
Turnoff100-continue

configfile:

& lt; system.Net & gt;

& lt; settings & gt;

& lt; servicePointManagerexpect100Continue = " false "/& gt;

& lt; /settings & gt;

& lt; /system.Net>

Code:

ServicePointManager.Expect100Continue = false; < BR>
[1.3] Close Context track, if do not have access environment (such as all queries)

context.MergeOption = MergeOption.NoTracking;
Copyright © Windows knowledge All Rights Reserved