Request.IsAjaxRequest()判断是否是ajax请求原理:Http协议上有个X-Requested-With:XML HttpRequest属性判断的
mvc后台通过Request可以
jquery通过报文头也可以