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 use HTTP Verb constraints when configuring command routes #6

Closed jamescrosswell closed 8 years ago

jamescrosswell commented 8 years ago

For example we want to be able to do something like this:

    commandRoutes
        .Get("hello/{name:alpha}")
        .As<SayHelloRequest>()
        .RoutesTo<IgnoreBob, SayHello>();