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)

member JsonRequestBehavior : JsonRequestBehavior with get, set

Property Value

Type: System.Web.Mvc.JsonRequestBehavior
A value that indicates whether HTTP GET requests from the client are allowed.

The default value is DenyGet.

Show: