标签归档:ASPX

IIS 6.0 下部署 Asp.net MVC Web Api 后 HTTP PUT and DELETE 请求失败的问题

ASP.NET MVC 4 has a new feature called WebAPI which makes it much easier to create a REST API in ASP.NET. Unfortunately, I ran into one problem with IIS 6.0 that prevented the full REST spec from being used. By … 继续阅读

发表在 学习笔记 | 标签为 , | 4条评论

IIS7.0增加JSON文件解析

今在IIS7.0上部署web服务,所有扩展名为.JSON的数据无法使用,页面错误提醒需要增加MIME类型。后在MIME增加一个配置如下: 添加—> 文件扩展名为 .JSON ,MIME类型为text/json(application/x-javascript)。 特记录之。

发表在 学习笔记 | 标签为 , , , | 5条评论