Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Pragmatic Microservices with C# and Azure
  • Table Of Contents Toc
  • Feedback & Rating feedback
Pragmatic Microservices with C# and Azure

Pragmatic Microservices with C# and Azure

By : Nagel
4.2 (11)
close
close
Pragmatic Microservices with C# and Azure

Pragmatic Microservices with C# and Azure

4.2 (11)
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
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

To get the most out of this book

You will need to know C# and .NET and have some fundamental knowledge about Microsoft Azure. The following tools and applications need to be installed:

Tool

Installation

Visual Studio 2022 (optional)

https://visualstudio.microsoft.com/downloads/

Visual Studio Code

https://code.visualstudio.com/download

Docker Desktop

https://docs.docker.com/desktop/install/windows-install/

https://docs.docker.com/desktop/install/mac-install/

https://docs.docker.com/desktop/install/linux-install/

Microsoft Azure subscription

https://azure.microsoft.com/en-us/free/

Azure CLI

https://learn.microsoft.com/en-us/cli/azure/install-azure-cli

Azure Developer CLI

https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd

Azure Cosmos DB emulator

https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator

.NET Aspire

https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling

Visual Studio 2022 is the only software on this list that requires Windows. All other tools can be used on Windows, macOS, or Linux. On platforms other than Windows, you can use Visual Studio Code or other tools to work with .NET and C#.

To use .NET Aspire with Visual Studio, at least version 17.10.0 needs to be installed. You can use Visual Studio 2022 Community Edition.

Starting with Chapter 6, you need a Microsoft Azure subscription. You can activate Microsoft Azure for free at https://azure.microsoft.com/free, which gives you about USD 200 in Azure credit that’s available for the first 30 days and several services that can be used for free for the time after. If you have a Visual Studio Professional or Enterprise subscription, you also get a free amount of Azure resources every month. You just need to activate this with your Visual Studio subscription: https://visualstudio.microsoft.com/subscriptions/.

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

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

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY