Skip to content

georgebearden/Expresso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expresso

Inspiration for the Expresso library came from the Express routing code. It greatly simplifies creating a RESTful web-service in C#. A simple example of using Expresso that maps the /users endpoint of a url to a callback is

var router = new Router();
router.Route(HttpMethods.Get, "/users", (req, res) => 
{

});

The HttpRouter also provides a way to get parameters from an endpoint. An example that maps the /users/georgebearden endpoint of a url to callback is

var router = new Router();
router.Route(HttpMethods.Get, "/users/{userId}", (req, res) => 
{
  var userId = req.Params["userId"];
});

Platforms supported

  • Windows Desktop .NET 4.5
  • Xamarin support coming soon...

Next steps

Adding support for middleware.

New Section

About

An Express style router for Xamarin and .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages