Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sean-bradley/seansowinrestfulservice

RESTful Service using .Net4.5.2 and OWIN demonstrating implementation of verbs GET, POST, PUT, DELETE
https://github.com/sean-bradley/seansowinrestfulservice

csharp microservice owin rest restful self-hosted

Last synced: 20 days ago
JSON representation

RESTful Service using .Net4.5.2 and OWIN demonstrating implementation of verbs GET, POST, PUT, DELETE

Awesome Lists containing this project

README

        

# Seans OWIN Restful Service
RESTful Service using .Net4.5.2 and OWIN demonstrating implementation of verbs GET, POST, PUT, DELETE

To Build,

Open Visual Studio 2015 Express

Create new no frills basic C# Console Appliction

Open NuGet package manager, and install following packages.

PM> Install-Package Microsoft.AspNet.WebApi.OwinSelfHost

PM> Install-Package Microsoft.AspNet.WebApi.Cors

Copy paste the Program.cs code from this SeansOWINRestfulService into your project Program.cs

and run it.

Self Hosetd RESTful service that supports GET, POST, PUT and DELETE against a vary basic data store is now running at http://127.0.0.1:8080/

Also included,

a basic index.html to test it with.

The index.html is simple html and javascript, so you can host it on any webserver of your choice.