Category: REST

.NET, .NET Core, ASP.NET, C#, CSharp, MVC, Programming, REST, WebAPI

HTTP Verbs in API design

HTTP Verbs are basic methods in web world. They are evolving between HTTP protocol versions but also new RFCs are published. Also they were extensions like WebDAV (with 7 methods). A full registry is maintained by IANA (here) however most of people will reply with 9 basic verbs (interesting discussion about this on stackoverflow). Why …

.NET, ASP.NET, AWS, C#, CSharp, Programming, REST, WebAPI

AWS Cognito – Identity Pool usage in .NET Core

Some time ago I had to implement authorization and authentication for REST (.NET Core 2.1, the latest stable nuget package version is 2.1.3) web service using JWT tokens (bearer) using AWS Cognito Identity Pools. It was pretty hard to find the updated tutorials or materials (even on AWS most of the data is about old …

C#, CSharp, Library, Programming, REST

Refit as HTTP client

This post is dedicated to my colleague – Łukasz (his blog in Polish). Today I would like to introduce Refit library (GitHub repo). It is described as The automatic type-safe REST library for .NET Core, Xamarin and .NET. In Refit the interface with methods mapped to API actions is declared. I will use HNapi (Hacker …