fullstackhero / dotnet-microservices-boilerplate

The Ultimate Microservices Starter Kit for .NET Developers!
https://fullstackhero.net/dotnet-microservices-boilerplate/
511 stars 122 forks source link

Question: Why static application classes and why remove dapr #71

Open NicholasIbarra opened 1 year ago

NicholasIbarra commented 1 year ago

This is a great project.

Was curious what the rationale was for:

  1. static application classes

  2. removing dapr

NicholasIbarra commented 1 year ago

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()