jamescrosswell / CommandRouting

A DNX alternative to MVC that lets you route directly to CQRS style command handlers.
MIT License
3 stars 3 forks source link

I want to be able to configure command routes automatically by convention #8

Closed jamescrosswell closed 8 years ago

jamescrosswell commented 8 years ago

This one might be a bit interesting. Basically we'd configure a pipeline of patterns. Some of them might be required (e.g. the terminal command handler) other's optional... Command Routing would then try to find matches for all of the patterns. If all of the required handlers were present then it would build up a pipeline and register it on the appropriate route. Sounds so simple!