Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Adopting .NET 5

You're reading from   Adopting .NET 5 Understand modern architectures, migration best practices, and the new features in .NET 5

Arrow left icon
Product type Paperback
Published in Dec 2020
Publisher Packt
ISBN-13 9781800560567
Length 296 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Hammad Arif Hammad Arif
Author Profile Icon Hammad Arif
Hammad Arif
Habib Qureshi Habib Qureshi
Author Profile Icon Habib Qureshi
Habib Qureshi
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Section 1: Features and Capabilities
2. Chapter 1: Introducing .NET 5 Features and Capabilities FREE CHAPTER 3. Chapter 2: What's New in C# 9? 4. Section 2: Design and Architecture
5. Chapter 3: Design and Architectural Patterns 6. Chapter 4: Containerized Microservices Architecture 7. Section 3: Migration
8. Chapter 5: Upgrading Existing .NET Apps to .NET 5 9. Chapter 6: Upgrading On-Premises Applications to the Cloud with .NET 5 10. Section 4: Bonus
11. Chapter 7: Integrating Machine Learning in .NET 5 12. Other Books You May Enjoy

Communication styles and protocols

Communication protocols and the data formats carried by those protocols are not design patterns but they are things that need to be decided upon and followed as part of an application design strategy. Hence, they are a fundamental part of any architecture, especially if communication is required across process or the machine boundaries. They are to be considered even more carefully for modern cloud-based implementation architectures.

Before listing the communication protocols, let's look at the most widely used communication methods in the next sections.

Synchronous and asynchronous communication

In an enterprise application setup, there are two main types of communication mode: synchronous and asynchronous. In your C# code, when calling any web service via REST or an RPC method, you may use async calls to invoke the web service on the client-side code. This is basically asynchronous execution on the client side that is applied at the...

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 €18.99/month. Cancel anytime