Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'open' REST framework (.Net)

Tags:

rest

c#

We have a homegrown framework that might be useful to implement REST based webservices.

It is a .net c# project, used in a webapplication.

What it is used like: inline substitution of template 'tags' with dynamic content. sample tag: {{recentposts window=7 max=10}}

What it does: parsing 'tag' to command with (checked) parameters, invoking a handler configured to handle the command and return data, transforming the data with xsl, substitute {{...}} with the result.

I have a hunch that this could be reworked to create some form of REST based services, parsing an url to a command with parameters, invoking a handler etc. and writing the result to http response.

As an alternative to reworking I'm looking for smth that might be useable instead, out of the box.

What are mature (open source) frameworks that could be used? It has to provide a http facade, to do the REST stuff easily, and besides provide an API, a way to bypass this facade, allowing command objects to be created, having all the invocation and transformation done and instead of writing to http response to some stream.

like image 750
stolky Avatar asked Jun 30 '26 11:06

stolky


1 Answers

How about ServiceStack?

Quote from the webpage:

A modern, code-first, DTO-driven, WCF replacement web services framework encouraging best-practices for creating DRY, high-perfomance, scalable REST web services

...and an "overview" slideshow.

like image 105
Christian Specht Avatar answered Jul 03 '26 01:07

Christian Specht



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!