SimpleRest REST Service Platform; Update

Rating: No reviews yet
Downloads: 191
Released: Aug 5, 2013
Updated: Nov 7, 2013 by DotNetRockStar
Dev status: Stable Help Icon

Recommended Download

Application SimpleRest.Core.Extensions.OAuth
application, 67K, uploaded Nov 7, 2013 - 68 downloads

Other Available Downloads

Application SimpleRest.Core
application, 26K, uploaded Nov 7, 2013 - 25 downloads
Application SimpleRest.Core.Extensions
application, 56K, uploaded Nov 7, 2013 - 20 downloads
Application SimpleRest Sample Application
application, 3689K, uploaded Nov 7, 2013 - 78 downloads

Release Notes

Updates:
- When a request comes in to the pipeline and an Accept header or Content-Type header is present but not recognized as a supported media type then the appropriate http status code will be returned (415; Unsupported Media Type).
o If NO Accept header or Content-Type header is found then the first media type formatter registered will be used.
o If Accept header or Content-Type header contain / as the value then this is treated the same as NO header value and the first registered media type formatter registered will be used.
- System.Guid types are now supported as input parameters to a SimpleRest supported method.
- Removed ability to use custom route table. All routes will now use built in routing provided by System.Web.Routing until bugs are all worked out.
- Built in oAuth provider hooks are now enhanced to include default descriptive attributes to explain, in full, how the endpoints work.
o OPTIONS will now have default descriptions for these services, which explain how they should be interacted with, when the services are wired up with SimpleRest correctly by the developer.
- Built in oAuth provider hooks do not automatically register themselves as services when the base class is inherited. You have to explicitly state that the oAuth service is a service in order for it to be registered as a valid SimpleRest service.
o Creating a class, inheriting the AuthorizationServiceBase class, and NOT declaring the class as a service will still register the authorization service as the authorization authority. This means that this class will not be accessible as a REST service externally but all incoming requests will still honor the ProtectedResourceAttribute on methods/classes and invoke authorization methods overridden on the class inheriting AuthorizationServiceBase respectively.
- Fixed a couple of misspellings in exceptions returned by SimpleRest.

Reviews for this release

No reviews yet for this release.