Jump to ratings and reviews
Rate this book

Microservices in .NET Core: with examples in Nancy

Rate this book
Summary

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications are built by connecting single-capability, autonomous components that communicate via APIs. These systems can be challenging to develop because they demand clearly defined interfaces and reliable infrastructure. Fortunately for .NET developers, OWIN (the Open Web Interface for .NET), and the Nancy web framework help minimize plumbing code and simplify the task of building microservice-based applications.

About the Book

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy. You'll design and build individual services in C# and learn how to compose them into a simple but functional application back end. Along the way, you'll address production and operations concerns like monitoring, logging, and security.

What's Inside


About the Reader

This book is written for C# developers. No previous experience with microservices required.

About the Author

Christian Horsdal Gammelgaard is a Nancy committer and a Microsoft MVP.

Table of Contents

344 pages, Paperback

Published February 3, 2017

22 people are currently reading
209 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
21 (32%)
4 stars
34 (52%)
3 stars
8 (12%)
2 stars
2 (3%)
1 star
0 (0%)
Displaying 1 - 11 of 11 reviews
Profile Image for Sebastian Gebski.
1,187 reviews1,339 followers
February 7, 2017
Surprisingly good & comprehensive. Guides you step by step through (almost) all the building steps for near-production-quality services. It's very detailed & still - it doesn't make shortcuts. There are still few minor topics that could have been covered (like versioning, discovery services, deployment practices, etc.), but these are details one can forgive :)

Ok, some more remarks:
1. monitoring is covered, but only very simple black-box monitoring
2. this is NOT really a book about .NET Core -> it's used as a platform for building microservices, but its specifics or advantages are never really mentioned, it's just there, no excitement (same applies to NancyFX)
3. as a side effect this book is quite a nice, _practical_ guide to OWIN - the word "practical" is important here: author shows how to use OWIN's extensibility for one's advantage. Nice.
4. entry threshold is minimal (well, you have to know C# ...)

In few short words: very decent book. Especially if you're already well familiar in .NET & you did similar architecture with a slightly different tech stack. It's really interesting to observe how some topics are being approached (& well described by someone else). Recommended.
Profile Image for Victor.
41 reviews8 followers
February 23, 2020
Practical book, although the samples are a bit outdated (.NET Core 1.0). I haven't used Nancy before, so it was interesting to see how easy it is to use. I liked the fact that the examples are focused on a single domain, unfortunately it's the common e-commerce shop. Also it touches (sometimes only superficially) on many aspects of designing and delivering a solution using the microservices architectural style, from identifying boundaries and choosing collaboration styles to security, logging and building a microservices platform (a service template).
600 reviews11 followers
August 30, 2016
A well written book on how to create microservices. Using Nancy as the main framework is a great decision. Not only do you get a well explained foundation, you can run it on the normal .Net Framework as well. This is especially helpful when you don’t want to jump to the new .Net Core right now. The book is not jet finished, but it contains all you need to start.
Profile Image for Sergey Tihon.
3 reviews10 followers
June 3, 2017
The book is not really about .NET Core (btw, it still uses project.json) and not about real-world giant microservice systems.
Expect to read about very basic microservices concepts and briefly touch technologies like OWIN, Nancy, IdentityServer, Polly, Serilog and xUnit
Profile Image for Marcin.
27 reviews11 followers
May 16, 2017
Well written book that touches topic in broad range. Examples are good, and fact that they build up into full app is an advantage.
What I've liked is that it shows microservice architecture from different angles, not only how to scope or build a microservice, but also shows that you need monitoring (and gives few hints about that), different approach to security etc.
Using Nancy as a main framework was a good choice imho.
Profile Image for Ryan Riley.
36 reviews3 followers
January 5, 2022
The second edition of Microservices in .NET is an outstanding update to an already excellent book. A lot has changed in .NET since the previous edition was published, and this edition captures and explores all of the important updates. This book is perfect for those looking for an overview of microservices or specifics regarding implementing microservices in .NET.

For those familiar with the first edition, updates include use of ASP.NET Core rather than Nancy and OWIN, deploying to kubernetes, and new libraries for cross-cutting concerns. It does not provide exhaustive coverage for all topics.

Overall, this is an excellent, well-written, and concise resource.
Profile Image for David.
19 reviews3 followers
December 26, 2021
This second version of Microservices in .NET is a complete rewrite of the first version and it contains a clear presentation of the latest best practices to build microservices on top of Microsoft ASP.NET and deploy them in containers running on Kubernetes.

A highly recommended read for all developers building microservices in C#.
50 reviews14 followers
April 8, 2017
Where comprehensive book about Microservices in the .NET world. Some people are afraid of this book because of the Nancy Framework. In my opinion, examples are very readable, and every framework can be replaced with any other favorite one.

Well written, with good examples, from zero to hero. Highly recommended for a .NET developer.
Profile Image for Alexander.
7 reviews
April 24, 2017
A lot of useful ideas to structure a distributed application in a microservices way.
Displaying 1 - 11 of 11 reviews

Can't find what you're looking for?

Get help and learn more about the design.