Asp.Net

外部からWebServiceアクセスできない場合

<system.web>
  <webServices>
    <protocols>
        <add name="HttpSoap"/>
        <add name="HttpGet"/>
    </protocols>
  </webServices>
</system.web>

アクセスにmaxJsonLengthエラーが発生した場合

maxJsonLength. JSON 文字列の最大長 (UTF-8 文字の最大数) を指定します。既定の長さは 102,400 です。

<configuration>
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="2147483647"/>
      </webServices>
    </scripting>
  </system.web.extensions>
</configuration>


フレッツ光が月額556円~【GMOとくとくBB】

コメント:



(画像の文字列を入力して下さい)

トップ   編集 凍結 差分 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019/12/02 (月) 12:32:40 (1628d)

e[NȂECir Yahoo yV LINEf[^[Ōz500~`I
z[y[W ̃NWbgJ[h COiq@COsیI COze