Show / Hide Table of Contents

Packages

The framework is made up of a number of NuGet packages focused on four areas:

Area Description
ASP.Net Core Extensions for building REST APIs from commands using a configuration based approach
Core The core packages - these are always required when working with the commanding framework though the non-abstract package will only need to be referenced by the host process
Dispatch, Processing and Auditing These packages deal with auditing, the dispatch to queues, and execution based on pulling from queues
Performance Handle the caching of responses to commands in either in-memory caches or a Redis cache based on command signatures

The dependencies and organisation of these packages is shown in the diagram below:

And the packages contain the following capabilities:

Package Capabilities
AzureFromTheTrenches.Commanding
  • Commanding runtime - this normally only needs adding in the host (e.g. in a Web API)
AzureFromTheTrenches.Commanding.Abstractions
  • Contains abstractions for the core commanding framework
AzureFromTheTrenches.Commanding.AspNetCore
  • Configuration based REST commanding
AzureFromTheTrenches.Commanding.AspNetCore.Swashbuckle
  • Configuration based REST commanding Swagger support
AzureFromTheTrenches.Commanding.AzureEventHub
  • Dispatch to Event Hub
  • Audit to Event Hub
AzureFromTheTrenches.Commanding.AzureServiceBus
  • Dispatch to Queue and Topic
  • Execution from Queue and Subscription
AzureFromTheTrenches.Commanding.AzureStorage
  • Dispatch to Queue
  • Execution from Queue
  • Audit to Queue
  • Audit to Table Storage
AzureFromTheTrenches.Commanding.Cache
  • Base package for cache support
AzureFromTheTrenches.Commanding.Cache.MemoryCache NOTE: This package will be renamed in the future to better reflect its purpose
  • Caching via the Microsoft.Extensions.Cache framework
AzureFromTheTrenches.Commanding.Cache.Redis
  • Caching with Redis
AzureFromTheTrenches.Commanding.Cache.Redis
  • Caching with Redisk
AzureFromTheTrenches.Commanding.Http
  • Dispatch via HTTP (e.g. to a REST service)
AzureFromTheTrenches.Commanding.Queue Does not normally require adding directly
  • Base package for queue dispatch
  • Improve this Doc
  • 0 Comments
Back to top Copyright © 2018 James Randall