Beschreibung
Know the fundamentals of creating and deploying microservices using .NET 6 and gain insight from prescriptive guidance in this book on the when and why to incorporate them.
The microservices architecture is a way of distributing process workloads to independent applications. This distribution allows for the independent applications to scale and evolve separately. It also enables developers to dismantle large applications into smaller, easier-to-maintain, scalable parts. While the return is valuable and the concept straightforward, applying it to an application is far more complicated. Where do you start? How do you find the optimal dividing point for your app, and strategically, how should your app be parceled out into separate services?
Pro Microservices in .NET 6will introduce you to all that and more. The authors get you started with an overview of microservices, .NET 6, event storming, and domain-driven design. You will use that foundational information to build a reference application throughout the book. From there, you will create your first microservice using .NET 6 that you can deploy into Docker and Azure Kubernetes Service. You will also learn about communication styles, decentralizing data, and testing microservices. Finally, you will learn about logging, metrics, tracing, and use that information for debugging.
What You Will Learn
Build a foundation of basic microservices architecture designFollow an example of using event storming and domain-driven design to understand the monolithic application modified for microservicesUnderstand, via detailed commands, how Docker is used to containerize applicationsGet an overview of creating microservices from a monolithic applicationCall microservices using RPC and messaging communication styles with MassTransitComprehend decentralizing data and handling distributed transactionsUse Azure Kubernetes Service to host and scale your microservicesKnow the methods to make your microservices more robustDiscover testing techniques for RPC and messaging communication stylesApply the applications you build for actual usePractice cross-cutting concerns such as logging, metrics, and tracing
Who This Book Is For
Developers and software architects. Readers should have basic familiarity with Visual Studio and experience with .NET, ASP.NET Core, and C#.
Autorenportrait
Sean Whitesell is a Microsoft MVP and cloud architect at TokenEx, where he designs cloud-based architectural solutions for hosting internal services for TokenEx. He serves as President of the Tulsa Developers Association. He regularly presents in the community at developer events, conferences, and local MeetUps.
Rob Richardsonis a software craftsman, building web properties in ASP.NET and Node, React, and Vue. He is a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high-quality software development. You can find his recent work at robrich.org/presentations.
Matthew D. Grovesis a Microsoft MVP who loves to code. From C# to jQuery, or PHP, he will submit pull requests for anything. He got his start writing a QuickBASIC point-of-sale app for his parent's pizza shop back in the 1990s. Currently a Product Marketing Manager for Couchbase, heis the author of the bookAOP in .NET, and the videoCreating and Managing Your First Couchbase Cluster.
Inhalt
Chapter 1. Introducing Microservices.- Chapter 2. ASP.NET Core Overview.- Chapter 3. Searching for Microservices.- Chapter 4. First Microservice.- Chapter 5. Microservice Messaging.- Chapter 6. Decentralizing Data.- Chapter 7. Testing Microservices.- Chapter 8. Containerization.- Chapter 9. Healthy Microservices.
Informationen zu E-Books
„E-Book“ steht für digitales Buch. Um diese Art von Büchern lesen zu können wird entweder eine spezielle Software für Computer, Tablets und Smartphones oder ein E-Book Reader benötigt. Da viele verschiedene Formate (Dateien) für E-Books existieren, gilt es dabei, einiges zu beachten.
Von uns werden digitale Bücher in drei Formaten ausgeliefert. Die Formate sind EPUB mit DRM (Digital Rights Management), EPUB ohne DRM und PDF. Bei den Formaten PDF und EPUB ohne DRM müssen Sie lediglich prüfen, ob Ihr E-Book Reader kompatibel ist. Wenn ein Format mit DRM genutzt wird, besteht zusätzlich die Notwendigkeit, dass Sie einen kostenlosen Adobe® Digital Editions Account besitzen. Wenn Sie ein E-Book, das Adobe® Digital Editions benötigt herunterladen, erhalten Sie eine ASCM-Datei, die zu Digital Editions hinzugefügt und mit Ihrem Account verknüpft werden muss. Einige E-Book Reader (zum Beispiel PocketBook Touch) unterstützen auch das direkte Eingeben der Login-Daten des Adobe Accounts – somit können diese ASCM-Dateien direkt auf das betreffende Gerät kopiert werden.
Da E-Books nur für eine begrenzte Zeit – in der Regel 6 Monate – herunterladbar sind, sollten Sie stets eine Sicherheitskopie auf einem Dauerspeicher (Festplatte, USB-Stick oder CD) vorsehen. Auch ist die Menge der Downloads auf maximal 5 begrenzt.