#21 JSON over HTTP Multiple Ways
Be it any industry, applications need to talk to each other. So, developers often build bridges – Application Programming Interfaces (API) – to allow one system to communicate with another.
HTTP is the most common protocol used to consume APIs and serving JSON over HTTP is probably the most popular way of consuming APIs. But there are multiple ways or API patterns to serve JSON over HTTP, each very different and each having its pros and cons. In my session, we will look at the three ways of serving JSON over HTTP - HTTP API, GraphQL and gRPC JSON Transcoding(a .NET 7 preview feature, previously gRPC HTTP API, an experimental feature). We will understand the basics and also see how to implement an API using all the three patterns and finally run a comparison between the three of them.