• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. 微軟認(rèn)證考試技巧:windowsazure常見(jiàn)問(wèn)題處理及技巧

        時(shí)間:2024-08-08 01:04:09 微軟認(rèn)證 我要投稿
        • 相關(guān)推薦

        微軟認(rèn)證考試技巧:windowsazure常見(jiàn)問(wèn)題處理及技巧

          「1」。 Some Tips for table service.

        微軟認(rèn)證考試技巧:windowsazure常見(jiàn)問(wèn)題處理及技巧

          「1.1」 修改最大連接數(shù),如果需要。

          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」 關(guān)閉Context跟蹤,如果用不上的環(huán)境(比如都是查詢)

          context.MergeOption = MergeOption.NoTracking;

          「1.4」 合理利用PartitionKey & RowKey

          具體參見(jiàn): More about “PartitionKey”&"RowKey“ in windows azure table storage

          <2> using customer httphandler in windows azure webrole, 在webrole中使用自定義HttpHandler.

          由于部署以后的webrole實(shí)際運(yùn)行在IIS7上面,如果您配置的是:
          <system.web>
          <httpHandlers>

          將會(huì)報(bào)錯(cuò),正確的配置是在節(jié)點(diǎn)中。

          <3> 使用role配置文件里的storage連接信息創(chuàng)建client account時(shí),使用以下代碼:

          CloudStorageAccount account = CloudStorageAccount.FromConfigurationSetting("DataConnectionString");

          出現(xiàn)以下錯(cuò)誤:

          Exception: SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used.

          解決方案:

          在 public override bool OnStart()中加入以下代碼:

          CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =>

          {

          configSetter(RoleEnvironment.GetConfigurationSettingValue(configName));

          RoleEnvironment.Changed += (anotherSender, arg) =>

          {

          if (arg.Changes.OfType()

          。Any((change) => (change.ConfigurationSettingName == configName)))

          {

          if (!configSetter(RoleEnvironment.GetConfigurationSettingValue(configName)))

          {

          RoleEnvironment.RequestRecycle();

          }

          }

          };

          });

        【微軟認(rèn)證考試技巧:windowsazure常見(jiàn)問(wèn)題處理及技巧】相關(guān)文章:

        微軟認(rèn)證考試技巧10-22

        關(guān)于微軟認(rèn)證考試技巧10-08

        微軟認(rèn)證考試技巧:MCSA認(rèn)證考試經(jīng)驗(yàn)06-17

        微軟認(rèn)證考試做題技巧06-30

        微軟認(rèn)證考試技巧:MCSE考試經(jīng)驗(yàn)08-08

        微軟認(rèn)證考試技巧:數(shù)據(jù)庫(kù)06-07

        微軟認(rèn)證考試技巧:MCSE自適應(yīng)考試09-06

        2017年微軟認(rèn)證綜合輔導(dǎo)考試技巧10-20

        微軟認(rèn)證考試之“另類”程序卸載有技巧10-23

        微軟認(rèn)證考試技巧:如何成為一名MCT05-03

        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 综合专区亚洲无 | 日韩亚洲人成网站在线观看 | 亚洲日韩精品欧美一区二区一 | 亚洲欧美中文字日韩二区 | 亚洲国产日韩欧美综合久久 | 在线看黄a∨无毒网站免费 永久A电影三级在线观看 |