JsonResult.JsonRequestBehavior Property

 

Gets or sets a value that indicates whether HTTP GET requests from the client are allowed.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public JsonRequestBehavior JsonRequestBehavior { get; set; }
public:
property JsonRequestBehavior JsonRequestBehavior {
    JsonRequestBehavior get();
    void set(JsonRequestBehavior value);
}
member JsonRequestBehavior : JsonRequestBehavior with get, set
Public Property JsonRequestBehavior As JsonRequestBehavior

Property Value

Type: System.Web.Mvc.JsonRequestBehavior

A value that indicates whether HTTP GET requests from the client are allowed.

Remarks

The default value is DenyGet.

See Also

JsonResult Class
System.Web.Mvc Namespace

Return to top