ASP.NET MVC框架的REST [英] ASP.NET MVC REST frameworks

查看:105
本文介绍了ASP.NET MVC框架的REST的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有各地的REST框架ASP.NET MVC的数量。哪一个是你认为最成熟?下面是一些我简单看了一下,但我不能决定。

There are number of REST frameworks around for ASP.NET MVC. Which one is the most mature in your opinion? Following are few I briefly looked at, but I couldn't decide.


  1. 贪睡

BistroMVC

与WCF

OpenRasta

午睡

<一个href=\"http://weblogs.asp.net/cibrax/archive/2009/04/17/developing-restful-services-with-json-and-pox-support-in-the-asp-net-mvc.aspx\"相对=nofollow>在ASP.Net MVC SDK REST支持构建

....还有更多一些。

.... there are few more.

推荐答案

我个人会去与它内置和微软支持的默认ASP.NET路由引擎。这将确保你不会找到自己一天进有迁移某些code这已经过时了,因为作者根本决定放弃该项目的位置。当然,如果有具体要实现哪些是不支持了,你可以寻找替代品盒子的东西。但据公开一个RESTful API而言路由引擎应该只是罚款。

Personally I would go with the default ASP.NET routing engine which is built and supported by Microsoft. This will ensure that you won't find yourself one day into the position of having to migrate some code which has become obsolete because the authors simply decided to abandon the project. Of course if there is something specific that you want to implement which isn't supported out of the box you could search for alternatives. But as far as exposing a RESTful API is concerned the routing engine should work just fine.

这篇关于ASP.NET MVC框架的REST的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆