Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Pragmatic Microservices with C# and Azure

You're reading from  Pragmatic Microservices with C# and Azure

Product type Book
Published in May 2024
Publisher Packt
ISBN-13 9781835088296
Pages 508 pages
Edition 1st Edition
Languages
Author (1):
Christian Nagel Christian Nagel
Profile icon Christian Nagel
Toc

Table of Contents (23) Chapters close

Preface 1. Part 1: Creating Microservices with .NET
2. Chapter 1: Introduction to .NET Aspire and Microservices 3. Chapter 2: Minimal APIs – Creating REST Services 4. Chapter 3: Writing Data to Relational and NoSQL Databases 5. Chapter 4: Creating Libraries for Client Applications 6. Part 2: Hosting and Deploying
7. Chapter 5: Containerization of Microservices 8. Chapter 6: Microsoft Azure for Hosting Applications 9. Chapter 7: Flexible Configurations 10. Chapter 8: CI/CD – Publishing with GitHub Actions 11. Chapter 9: Authentication and Authorization with Services and Clients 12. Part 3: Troubleshooting and Scaling
13. Chapter 10: All About Testing the Solution 14. Chapter 11: Logging and Monitoring 15. Chapter 12: Scaling Services 16. Part 4: More communication options
17. Chapter 13: Real-Time Messaging with SignalR 18. Chapter 14: gRPC for Binary Communication 19. Chapter 15: Asynchronous Communication with Messages and Events 20. Chapter 16: Running Applications On-Premises and in the Cloud 21. Index 22. Other Books You May Enjoy

Codebreaker – the solution

The Codebreaker solution is a traditional game to solve a set of colors. With one game type, the player needs to place four colors (which can be duplicates) from a list of six different colors. The correct colors are chosen randomly by the game service. With every move the player makes, an answer is returned: for every color that is correct and positioned at the correct place, a black peg is returned. For every color that is correct but wrongly positioned, a white peg is returned. The player now has up to 12 moves to find the correct solution. Figure 1.4 shows a game run using a Blazor client application.

Figure 1.4 – Blazor client application

Figure 1.4 – Blazor client application

This gameplay shows that the solution was found after five moves. In this case, the correct result was yellow – black – red – black. The first selection was red – green – blue – yellow, with a result of two white pegs. With the fifth...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}