What is OWIN and Nancy?
OWIN stands for Open Web Interface for .NET. It is a specification that defines an abstraction layer between web servers and web applications. OWIN allows you to write web applications that are independent of any specific web server or hosting environment. You can use OWIN middleware components to handle cross-cutting concerns, such as logging, authentication, compression, and caching.
Nancy is a lightweight web framework that supports OWIN. Nancy is inspired by Ruby's Sinatra framework and follows the principle of "super-duper-happy-path". This means that Nancy makes it easy to do the most common things, such as routing, model binding, validation, and error handling. Nancy also supports advanced features, such as dependency injection, content negotiation, testing, and hosting.
What does the book cover?
The book is divided into four parts. The first part introduces the concept of microservices and shows how to build a basic shopping cart microservice using OWIN and Nancy. The second part covers how to identify and scope microservices, how to design them for robustness and testability, how to handle data ownership and storage, and how to enable microservice collaboration using HTTP APIs and event feeds. The third part focuses on how to use OWIN middleware to address cross-cutting concerns, such as monitoring, logging, and security. The fourth part demonstrates how to create applications over microservices using various techniques, such as service discovery, load balancing, circuit breakers, and API gateways.
Why should you read this book?
This book is written for Cdevelopers who want to learn how to build microservice applications using OWIN and Nancy. The book assumes that you have some experience with C# and .NET Core, but no previous experience with microservices is required. The book is full of practical examples and code snippets that you can follow along and try out yourself. The book also provides useful tips and best practices for developing microservice applications in .NET Core.
If you are looking for a comprehensive and hands-on guide to building microservice applications in .NET Core using OWIN and Nancy, this book is for you. You can find more information about the book on its official website or buy it from Amazon. You can also read some sample chapters from the book on Google Books or Amazon.
524038ac18