Code: Select all
var command = (CommandJson)new DataContractJsonSerializer(typeof(CommandJson)).ReadObject(HttpContext.Current.Request.InputStream);
Code: Select all
ReadTimeout = 'HttpContext.Current.Request.InputStream.ReadTimeout' threw an exception of type 'System.InvalidOperationException'
WriteTimeout = 'HttpContext.Current.Request.InputStream.WriteTimeout' threw an exception of type 'System.InvalidOperationException'