API vs SDK: What’re the differences?

api_vs_sdk

As beginner software engineers, we always start with a good understanding of the basics. Like other beginners in any field, we sometimes get confused by technical terminologies. What is an API and what is an SDK? Every programmer needs to understand how APIs and SDKs work together with their respective systems. APIs and SDKs are […]

What is REST API?

what is rest api

Let’s go through an example to understand what a REST API is. Let’s say that we work for a cloud kitchen and we want to build a web application that can give you how much stock particular items suppose ice cream flavors are available and the worker working on the physical location of the kitchen […]

API Versioning in ASP.NET Core

In this article, we’ll discuss API versioning and implement it in ASP.NET Core 6 step by step. Source code for this article is available on github We will cover the following: API Versioning – What & Why? When to Version API Query Parameter Versioning URI Versioning Custom HTTP Header Versioning Content Negotiation Versioning (Media Versioning) Combining […]

.NET6 API Documentation & Example request with Swagger

In this post,  Will try to show some basic of Swagger with .NET 6 as well as how to generate example request to make testing handy. Create a new Web API project with enabling the OpenAPI support. To add API information and description update builder.Services.AddSwaggerGen() like bellow example: using Microsoft.OpenApi.Models; builder.Services.AddSwaggerGen(c => { c.SwaggerDoc(“v1”, new […]

Adding Health Checks And SSL Certificate in Kong Db-Less Mode

Recently I was working on an open-source project on my current company where all requests come to the API gateway service then the gateway redirects the request to the appropriate service based on the URL pattern. Those who work with Gateway services know there are many of them out there to choose from, e.g. Amazon […]