私はクラスの一つで "application/json"コンテンツタイプの定数を宣言しました。.netフレームワークの "application/json"定数
public const string JsonContentType = "application/json";
私はそれが良い方法であるかどうかはわかりません。
.NET Frameworkには、 "application/json"の定義済みconstがありますか?
私はクラスの一つで "application/json"コンテンツタイプの定数を宣言しました。.netフレームワークの "application/json"定数
public const string JsonContentType = "application/json";
私はそれが良い方法であるかどうかはわかりません。
.NET Frameworkには、 "application/json"の定義済みconstがありますか?
がhttp://stackoverflow.com/questions/1015892/is-there-an-enum-for-the-contenttype-property-on-a-httpwebresponse-text-plainを参照してください –