dotnet-microservices-boilerplate icon indicating copy to clipboard operation
dotnet-microservices-boilerplate copied to clipboard

Question: Why static application classes and why remove dapr

Open NicholasIbarra opened this issue 2 years ago • 1 comments

This is a great project.

Was curious what the rationale was for:

  1. static application classes

  2. removing dapr

NicholasIbarra avatar Jun 08 '23 02:06 NicholasIbarra

To follow up, I see why the static application classes were used.

Simplifies the Mediatr command \ query request by wrapping the call in a static class so the resource just exposes a "Command" or "Query" pattern and avoids future conflicts.

Example:

new [Resource Name].Command() new [Resource Name].Query()

NicholasIbarra avatar Jun 19 '23 17:06 NicholasIbarra