Workshop: Introduction to Distributed Systems with Microsoft .NET
A one-day introductory course for developers who want to build distributed systems, APIs and microservices using Microsoft .NET. You’ll see how to build independent software components that communicate using various technologies, including HTTP APIs, gRPC, and message queues, and how to create user interfaces using realtime technologies such as SignalR.
Next date: July 16, 2020 (10:00-16:00 BST)
Online via Zoom • £250 + booking fee
Course Structure and Contents
- What are “distributed systems”?
- Monoliths and microservices
- Common integration patterns
- Principles of distributed architecture
Connecting Components using HTTP
- HTTP architectural patterns - XMLRPC, REST, GraphQL
- Designing HTTP APIs
- HTTP frameworks: WebAPI, NancyFX, ServiceStack
- Working with HTTP APIs: testing and tooling
- Scaling HTTP APIs: caching strategies
- Exercise: building an HTTP API client and server
Message queues and pub/sub
- Principles of message queues
- Message queueing in .NET - Redis, MSMQ, EasyNetQ
- Queueing strategies and error handling
- Advanced architectural patterns: CQRS, event sourcing
- Exercise: building a pub/sub system using .NET
Protocol Buffers and gRPC
- History of RPC on .NET - SOAP, DISCO, WSDL, WCF
- Introduction to Protocol Buffers
- Contract-first development
- Advantages of gRPC
- Exercise: high-performance architecture using gRPC
Connecting to the Web
- Integrating browsers with distributed systems
- The “Backends for Frontends” pattern
- Working with SignalR
- Exercise: real-time browser notifications using SignalR
Target Audience and Prerequisites
This workshop is aimed at developers with some experience writing applications using C# and Microsoft .NET.
The workshop is run fully online, using Zoom and various online collaboration tools. Attendees will be writing and running .NET code during the workshop, so will need to join the workshop on a computer running Windows, macOS or Linux, and ideally install the Microsoft .NET SDK from https://dotnet.microsoft.com/download.
Exercises can be done in .NET Framework 4.6+ or .NET Core 2.0+
The ideal class size for this workshop is between 6–20 people. If you’d like to run it for a smaller or a larger group, please get in touch and let’s chat.