Microservices For . NET
Architect your .NET applications by breaking them into really small pieces-microservices-using this practical, example-based guideAbout This Book* This book will show you the basics of microservices and when you should consider this architectural style* This book will help you understand how to implement separate services using the C#, ASP.NETMVC/Web API, and more* You'll learn to integrate services using ASP.NET Web API and Azure Service BusWho This Book Is ForThis book is for NET developers who are familiar with .NET framework and now want to learn how to implement microservices architecture in their .NET applications. It's ideal for developers who are completely new to Microservices or have just a theoretical understanding of this architectural approach and want to gain a practical perspective in order to better manage application complexityWhat You Will Learn* Compare microservices with Monolithic and SOA* Identify the appropriate service boundaries by mapping them to the relevant Bounded Contexts* Define the service interface and implement the APIs using ASP.NET Web API* Integrate the services via synchronous and asynchronous mechanisms* Implement service security policies using Azure Active Directory, OpenId Connect, and OAuth* Configure Azure Diagnostics and automatic scaling policies in AzureIn DetailMicroservices is an architectural style that promotes the development of complex applications as a suite of small services based on business capabilities.This book will help you identify the appropriate service boundaries within the business domain to ensure high cohesion and to define the correct service interfaces to promote loose coupling.We 'll start by looking at what microservices are, what the main characteristics are, and how they compare with Monolithic and SOA approaches. Next, we'll briefly go through the benefits of using this style, the challenges to consider, and the prerequisites to succeed when engaging in this approach.Moving forward, you 'll be introduced to a real-life application, implemented initially as a Monolith that is currently struggling to cope with increasing user demand and complexity. After assessing the current issues, we will begin the journey of transforming this application by splitting it into a suite of microservices.You'll identify the business domain boundaries as a reference for our service boundaries, split the application into multiple services, and define the service contracts. You'll be able to choose the appropriate integration techniques, set up an automated infrastructure to handle testing and deployment, and implement appropriate security policies to keep our services safe from unauthorized access. You'll find out how to configure and implement monitoring to ensure the health of our services, and configuring scaling to allow our application to quickly adapt to increased demand in the future.