Assertfail

Using owin to implement an api

31 Aug 2015

I tried implementing the same customer service xml api that I’ve implemented in sinatra, rails, C# webhandler, nancy etc. I was pleasantly surprised how easy it is to get it up and running. There is a story for how you write tests: TestServer, that you install by referencing Microsoft.Owin.Testing.

Previous times that I’ve tried using Owin on mono, there has been some problems getting it to run (I think it was something related to a missing dll). Now it works fine. :)

You can find the code here: CustomerService/Owin

Tags


Comments

Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.

Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.