摘要:
项目需要,在使用KendoUI,又涉及到jsonp数据格式的处理,网上看到这样一种实现方法,在此小记一下(其实是因为公司里只能上博客园等少数网站,怕自己忘了,好查看一下,哈哈哈) 1. 新建控制器扩展类 ContollerExtensions.cs public static class Conto 阅读全文
摘要:
原文的转载地址:http://www.strathweb.com/2012/05/output-caching-in-asp-net-web-api/ 一.Nuget安装相关dll Web API 2 : Install-Package Strathweb.CacheOutput.WebApi2 W 阅读全文
摘要:
方法一.JavaScriptSerializer 方法二.JsonConvert 示例: Web API项目 1.新建 Model: namespace WebApi{ public class Product { public string Name { set; get; } public st 阅读全文