Skip to content

Latest commit

 

History

History
 
 

README.md

#The REST Files

The Rest files is a ServiceStack Example project providing complete management of your remote filesystem, over a REST-ful web services API, in a GitHub browser-like widget.

Client Info

The client is written in 1 static default.html page, and uses only jQuery Because of the advanced HTML5 features used its best viewed in a modern browser (i.e. anything recent that's not IE)

  • CSS3 is used for folder browser animations
  • HTML5 History State API is used for ajax state and page navigation

Server Info

The /files service exposes a complete strong-typed REST-ful API, the entire implementation of which fits in only
1 C# class.

As it was developed using the http://servicestack.net Open Source .NET/Mono Web Services Framework it also able to expose this REST-ful API over a myraid of formats (with no extra code/config):

*Note: The speed of web services are faster than what they appear, as the delay + animations are for gratuitous purposes only :) All but the xml format uses the high-performance cross-platform, serializers in ServiceStack.Text. e.g the JsonSerializer serializer used is over 3.6x faster that the fastest JSON Serialzer shipped with .NET, see: the Northwind Benchmarks

SOAP 1.1/1.2 endpoints are also available at the following url:

As a result of the strong-typed DTO pattern used to define the the webservice, ServiceStack is able to generate the xsds, wsdls, metadata documentation on the fly at:

Caveat: XmlSchema is not fully implemented as of MONO <= 2.8, so in many cases you will need to host your service on a Windows/.NET server to view your web services XSD and WSDLS.

Live Demo

The live demo is hosted on Linux (Cent OS) / Nginx using MONO

*Not affiliated with GitHub, which is a trademark of GitHub Inc.