Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Flux is an abstraction between your .NET application and external services. It provides a simple way to interact with those services without depending directly on how communication is implemented.

Flux is designed to be:

  • Easy to use — it provides common abstractions for interacting with external services.
  • Configurable — it is highly configurable and can be easily adapted to your needs.
  • Extendable — it provides implementation packages for different use-cases, while also allowing custom implementations.
  • Testable — it lets application code depend on Flux abstractions, so you can mock Flux components when testing your application.

Proceed to the following sections to learn more about Flux implementations:

  • Flux.REST - REST protocol implementation for Flux.
  • Flux.JSON - Implements Flux via JSON, allowing easy Web API mocking by defining data as JSON strings.