Embedding A REST Server In Your Application Should Be Simple
Clone or download
Scott Offen and scottoffen Closes #188
Latest commit 4003de2 Sep 2, 2017
Permalink
Failed to load latest commit information.
img 4.0.0-alpha.0 Jun 28, 2016
nupkg Update Grapevine.nuspec Sep 4, 2016
src Closes #188 Sep 6, 2017
.gitignore Cake (#156) Dec 20, 2016
LICENSE Create LICENSE Sep 11, 2015
README.md Update README.md Dec 1, 2016
ROADMAP.md Initial commit Nov 4, 2016
SUPPORT.md Update SUPPORT.md Jul 9, 2016
build.cake Move Cake Script to Project Root (#158) Dec 28, 2016
build.ps1 Move Cake Script to Project Root (#158) Dec 28, 2016

README.md

Build status Join the chat at https://gitter.im/sukona/Grapevine

The best solutions are the simplest to implement. Embedding a REST/HTTP server in your application should be simple. Consuming REST resources from inside your application should be simple. If what you've been using doesn't feel simple, try Grapevine. It doesn't get any simpler than this.

I'm always open to flattry

Introduction

Grapevine is a .NET class library focused on solving two problems:

  1. Easily embedding a REST/HTTP servers in your application
  2. Easily consume REST resources in your application

The focus is on simplicity, and while Grapevine is intended for use in applications for which being a REST or HTTP client or server is not the primary function or purpose of the application, it can just as easily be used to serve up production-ready website and web applications.

Features

  • Grapevine has no dependency on IIS or System.Web.

  • Grapevine can serve both static files and dynamic resources

  • Grapevine can both produce and consume REST services

  • Grapevine has minimal configuration requirements

  • Grapevine allows you to map specific methods to HTTP verbs and URL patterns

  • Grapevine supports using regular expressions

  • Grapevine streamlines connecting and communicating with REST servers using simple patterns and placeholders

  • Grapevine can listen on multiple ports, and scope REST resources to those ports

Limitations

  • Grapevine does not do any script parsing (CGI scripts or HTML templating engines) by default - but feel free to fork this project and hack away! I'm pretty sure it could be done, I just haven't encountered a need for it (yet).

  • You will likely be required to open a port in your firewall for remote computers to be able to send requests to your application. Grapevine will not (yet) automatically do that for you, but it's on our roadmap.

Support

If you find you are having problems and need help check out our support options.

"Grapes In Dark Blue Cloud" Icon courtesy of aha-soft.