OVERVIEW

Delivering Effortless REST API Consumption, With an Extensible Suite of Tools

SereneApi is a new player to the C# space, it offers a new and innovative way of consuming REST APIs in your C# .Net application. It was designed from the ground up with the intention of being middleware between your code and the REST API it's consuming. Completely eliminating the need to process requests and responses permitting an intuitive way of implementing consumers. SereneApi removes the need to constantly configure clients and requests — configuration is only done once.

"After using the repository pattern for many years I was inspired to create a generic RESTful API consumer that implemented similar concepts. I began fiddling with the idea in 2019 and after some tweaking I concluded the concept found and began work on SereneApi."

Bradley Clarke
alternative

ApiHandler Pattern

The ApiHandler pattern provides an abstraction layer between your application and the REST APIs its consuming. Safeguarding your application from changes to an API, easing maintenance and aiding in automated unit testing.

Dependency Injection

Consuming REST APIs in your Asp.Net C# application has never been this easy.

Integrated Mocking

Perform 'End-to-End' without ever using the real thing. Granting easier than ever automated unit testing and promoting a safer and faster development lifecycle.

Synchronous & Asynchronous

Sync and Async variants are supported for a plethora of operations, presenting the flexibly you desire when developing your application.

Perform Querys

Build queries directly from objects. You can select what properties you want, specify a keys value, add custom converters, set length conditions and designate requried properties.

Authorization

SereneApi has made authorization more convenient than ever. Simply add an authorization API to any or all of your APIs. Then specify the authorization method to be used and everything else is managed for you.

Serialization

Request & Response data is automatically serialized to and from JSON. Newtonsoft.json is supported with the extension package. It is also possible to override the default serializer.

Dynamic Endpoints

Dynamically compose endpoints at runtime. Allowing customised data for every request.

Highly Configurable

Almost everything is configurable allowing you to configure SereneApi to suite your exact requirments.