Tag Archives: REST

What is gRPC and how does it differ from REST?

By | March 25, 2023

gRPC and REST are both popular ways to build APIs for client-server communication. Here are some differences between the two: Here’s an example of a gRPC endpoint response in the Protocol Buffers data format message Book { string title = 1; string author = 2; int32 published_year = 3; } message GetBookResponse { Book book… Read More »

API Best Practices

By | March 25, 2023

Introduction APIs (Application Programming Interfaces) are essential tools for developers who want to integrate third-party services or data into their applications. However, working with APIs can be challenging, especially for those who are new to this field. In this document, we’ll discuss some best practices for working with APIs. Conclusion APIs are powerful tools for… Read More »

Creating RESTful Web API

By | October 20, 2015

Introduction This post is about creating a RESTful web API using Microsoft technology stack. We will be using Visual Studio 2012 to build this REST service in C#. Entity Framework will be used for persistence in SQL Server database. REST Project Structure Open Visual Studio and click on File –> New –> Project (Shortcut : Ctrl… Read More »