Book Image

Building RESTful Web Services with .NET Core

By : Gaurav Aroraa, Tadit Dash
Book Image

Building RESTful Web Services with .NET Core

By: Gaurav Aroraa, Tadit Dash

Overview of this book

REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs. The depth, breadth, and ease of use of ASP.NET Core makes it a breeze for developers to work with for building robust web APIs. This book takes you through the design of RESTful web services and leverages the ASP.NET Core framework to implement these services. This book begins by introducing you to the basics of the philosophy behind REST. You'll go through the steps of designing and implementing an enterprise-grade RESTful web service. This book takes a practical approach, that you can apply to your own circumstances. This book brings forth the power of the latest .NET Core release, working with MVC. Later, you will learn about the use of the framework to explore approaches to tackle resilience, security, and scalability concerns. You will explore the steps to improve the performance of your applications. You'll also learn techniques to deal with security in web APIs and discover how to implement unit and integration test strategies. By the end of the book, you will have a complete understanding of Building a client for RESTful web services, along with some scaling techniques.
Table of Contents (13 chapters)

Overview of microservices

In simple words, when one divides an application or a module into smaller, independent services, the outcome is also known as microservices. These small pieces can also be deployed independently.

If we go back in history, we find that the term microservices was used for the first time in 2011 at the workshop of Software Architects. In March 2012, James Lewis presented some of his ideas about the term microservices. By the end of 2013, various groups in the IT industry had started discussing microservices, and by 2014, microservices had become popular enough to be considered a serious contender for large enterprises.

So, what are microservices really? There are a plethora of definitions so you can define microservices as per your own understanding of the term or what kind of use cases and discussions you may have. Let us look at a microservices definition...