Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Pragmatic Microservices with C# and Azure
  • Toc
  • feedback
Pragmatic Microservices with C# and Azure

Pragmatic Microservices with C# and Azure

By : Nagel
4.5 (10)
close
Pragmatic Microservices with C# and Azure

Pragmatic Microservices with C# and Azure

4.5 (10)
By: Nagel

Overview of this book

Pragmatic Microservices with C# and Azure introduces .NET Aspire for microservices, focusing on defining an app model, utilizing service discovery, and integrating with Azure's native cloud services. Written by a Microsoft MVP and seasoned software architect with over two decades of experience in .NET, this book will help you get to grips with robust service development using .NET features like minimal APIs, gRPC, and SignalR for real-time communication. Aside from covering essential aspects of DevOps, including testing methodologies such as unit, integration, and load testing, you’ll also explore logging and monitoring including OpenTelemetry using tools like Azure Log Analytics, Application Insights, Prometheus, and Grafana. You'll learn about asynchronous communication leveraging queues and events through Azure Event Hub and Apache. Throughout the book, theoretical aspects will be complemented by practical skills gained from building and deploying a fully functional microservices-based application. By the end, you’ll possess a deep understanding of microservices architecture, hands-on experience with various .NET technologies and Azure services, and the ability to design, build, deploy, and manage microservices applications effectively in both on-premises and cloud environments.
Table of Contents (23 chapters)
close
Free Chapter
1
Part 1: Creating Microservices with .NET
6
Part 2: Hosting and Deploying
12
Part 3: Troubleshooting and Scaling
16
Part 4: More communication options

Technical requirements

With this chapter, as with the previous chapters, you need an Azure subscription and a Docker Desktop.

The code for this chapter can be found in this GitHub repository: https://github.com/PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure/.

In the ch10/final folder, you’ll see these projects with the final result of this chapter.

These projects are unchanged from previous chapters:

  • Codebreaker.AppHost – The .NET Aspire host project
  • Codebreaker.ServiceDefaults – Common service configuration
  • Codebreaker.Bot – The bot service to run games

These projects are unchanged from previous chapters, but of special interest for the tests:

  • Codebreaker.Analyzers – This is the project that contains analyzers to verify game moves and return results
  • Codebreaker.GameApis – The games API service project

These projects are new:

  • Codebreaker.Analyzers.Tests – Unit...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete