This topic has not yet been rated - Rate this topic

JsonResult.JsonRequestBehavior Property

.NET Framework 4

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)
public JsonRequestBehavior JsonRequestBehavior { 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ