SereneApi is a C# Library that introduces a new and intuitive way of consuming REST APIs while combining a robust set of extensible 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."
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.
Consuming REST APIs in your Asp.Net C# application has never been this easy.
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.
Sync and Async variants are supported for a plethora of operations, presenting the flexibly you desire when developing your application.
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.
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.
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.
Dynamically compose endpoints at runtime. Allowing customised data for every request.
Almost everything is configurable allowing you to configure SereneApi to suite your exact requirments.
Copyright © 2020 DeltaWare