Building Microservices with .NET Core 2.0 - Second Edition

Architect your .NET applications by breaking them into really small pieces - microservices -using this practical, example-based guide.
Preview in Mapt

Building Microservices with .NET Core 2.0 - Second Edition

Gaurav Aroraa

3 customer reviews
Architect your .NET applications by breaking them into really small pieces - microservices -using this practical, example-based guide.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Building Microservices with .NET Core 2.0 - Second Edition Book Cover
Building Microservices with .NET Core 2.0 - Second Edition
$ 35.99
$ 25.20
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781788393331
Paperback300 pages

Book Description

The microservices architectural style promotes the development of complex applications as a suite of small services based on business capabilities. This book will help you identify the appropriate service boundaries within your business. We'll start by looking at what microservices are and their main characteristics.

Moving forward, you will be introduced to real-life application scenarios; after assessing the current issues, we will begin the journey of transforming this application by splitting it into a suite of microservices using C# 7.0 with .NET Core 2.0. You will identify service boundaries, split the application into multiple microservices, and define service contracts. You will find out how to configure, deploy, and monitor microservices, and configure scaling to allow the application to quickly adapt to increased demand in the future.

With an introduction to reactive microservices, you’ll strategically gain further value to keep your code base simple, focusing on what is more important rather than on messy asynchronous calls.

Table of Contents

Chapter 1: An Introduction to Microservices
Origin of microservices
Discussing microservices
Monolithic architecture
Understanding the microservice architecture
Why should we use microservices?
How does the microservice architecture work?
Advantages of microservices
SOA versus microservices
Prerequisites of the microservice architecture
Understanding the problems with the monolithic architectural style
Prerequisites for microservices
Identifying decomposition candidates within monolithic
Overview of Azure Service Fabric
Summary
Chapter 2: Implementing Microservices
Introduction
Size of microservices
What makes a good service?
DDD and its importance for microservices
The concept of seam
Communication between microservices
Revisiting the Flix One case study
Summary
Chapter 3: Integration Techniques and Microservices
Communication between services
Integration patterns
Summary
Chapter 4: Testing Microservices
How to test microservices
Testing strategies (testing approach)
Testing pyramid
Types of microservice tests
Tests in action
Summary
Chapter 5: Deploying Microservices
Monolithic application deployment challenges
Understanding the deployment terminology
Prerequisites for successful microservice deployments
Isolation requirements for microservice deployment
Need for a new deployment paradigm
Containers
Introducing Docker
Summary
Chapter 6: Securing Microservices
Security in monolithic applications
Security in microservices
Summary
Chapter 7: Monitoring Microservices
Instrumentation and telemetry
The need for monitoring
Monitoring challenges
Monitoring strategies
Logging
Monitoring in Azure Cloud
Other microservice monitoring solutions
Summary
Chapter 8: Scaling Microservices
Scalability overview
Scaling infrastructure
Microservice scalability
Scaling the infrastructure
Scaling service design
Summary
Chapter 9: Introduction to Reactive Microservices
Understanding reactive microservices
Let's make code reactive
Event communication
Managing data
The microservice ecosystem
Coding reactive microservices
Summary
Chapter 10: Creating a Complete Microservice Solution
Architectures before microservices
Monolith transitioning
Monitoring
Monitoring strategies
Reactive microservices
Greenfield application
Summary

What You Will Learn

  • Get acquainted with Microsoft Azure Service Fabric
  • Compare microservices with monolithic applications and SOA
  • Learn Docker and Azure API management
  • Define a service interface and implement APIs using ASP.NET Core 2.0
  • Integrate services using a synchronous approach via RESTful APIs with ASP.NET Core 2.0
  • Implement microservices security using Azure Active Directory, OpenID Connect, and OAuth 2.0
  • Understand the operation and scaling of microservices in .NET Core 2.0
  • Understand the key features of reactive microservices and implement them using reactive extensions

Authors

Table of Contents

Chapter 1: An Introduction to Microservices
Origin of microservices
Discussing microservices
Monolithic architecture
Understanding the microservice architecture
Why should we use microservices?
How does the microservice architecture work?
Advantages of microservices
SOA versus microservices
Prerequisites of the microservice architecture
Understanding the problems with the monolithic architectural style
Prerequisites for microservices
Identifying decomposition candidates within monolithic
Overview of Azure Service Fabric
Summary
Chapter 2: Implementing Microservices
Introduction
Size of microservices
What makes a good service?
DDD and its importance for microservices
The concept of seam
Communication between microservices
Revisiting the Flix One case study
Summary
Chapter 3: Integration Techniques and Microservices
Communication between services
Integration patterns
Summary
Chapter 4: Testing Microservices
How to test microservices
Testing strategies (testing approach)
Testing pyramid
Types of microservice tests
Tests in action
Summary
Chapter 5: Deploying Microservices
Monolithic application deployment challenges
Understanding the deployment terminology
Prerequisites for successful microservice deployments
Isolation requirements for microservice deployment
Need for a new deployment paradigm
Containers
Introducing Docker
Summary
Chapter 6: Securing Microservices
Security in monolithic applications
Security in microservices
Summary
Chapter 7: Monitoring Microservices
Instrumentation and telemetry
The need for monitoring
Monitoring challenges
Monitoring strategies
Logging
Monitoring in Azure Cloud
Other microservice monitoring solutions
Summary
Chapter 8: Scaling Microservices
Scalability overview
Scaling infrastructure
Microservice scalability
Scaling the infrastructure
Scaling service design
Summary
Chapter 9: Introduction to Reactive Microservices
Understanding reactive microservices
Let's make code reactive
Event communication
Managing data
The microservice ecosystem
Coding reactive microservices
Summary
Chapter 10: Creating a Complete Microservice Solution
Architectures before microservices
Monolith transitioning
Monitoring
Monitoring strategies
Reactive microservices
Greenfield application
Summary

Book Details

ISBN 139781788393331
Paperback300 pages
Read More
From 3 reviews

Read More Reviews

Recommended for You

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 31.99
$ 22.40
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 25.20
ASP.NET Core 2 High Performance - Second Edition Book Cover
ASP.NET Core 2 High Performance - Second Edition
$ 39.99
$ 28.00
ASP.NET Core 2 High Performance - Second Edition Book Cover
ASP.NET Core 2 High Performance - Second Edition
$ 39.99
$ 28.00
Azure for Architects Book Cover
Azure for Architects
$ 35.99
$ 25.20
C# 7 and .NET Core 2.0 Blueprints Book Cover
C# 7 and .NET Core 2.0 Blueprints
$ 39.99
$ 28.00