Is there a .NET REST framework that meets these requirements?
We just started a greenfield project. A part of requirements is to provide application server Api as REST services. I found few ways to do it using OpenRasta, Windsor WcfFacility. From what I see on Web is not much information on this topic. I'm lookin开发者_运维技巧g for a framework with support of:
- non intrusive api
- security
- interface versionning
- fluent configuration api
What is your framework of choice and why?
For openrasta:
- The API is as non-intrusive as you can, with POCO resouces and POCO handlers.
- Supports HTTP Digest authentication, and provides interceptors for role-based authentication. Plugging in a custom solution would be quite easy, and if you run on asp.net you can use that too.
- Interface versioning in terms of ReST APIs is a bad idea (as versioning interfaces, URIs etc is inherently not restful, and breaks a multitude of scenarios). You should instead either do media type versioning if you want to support multiple media types, or do the more restful way and make one media type versionable and extensible.
- Yeap, we got that. :)
精彩评论