fullstackhero / dotnet-microservices-boilerplate

The Ultimate Microservices Starter Kit for .NET Developers!

Home Page:https://fullstackhero.net/dotnet-microservices-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Why static application classes and why remove dapr

NicholasIbarra opened this issue · comments

This is a great project.

Was curious what the rationale was for:

  1. static application classes

  2. removing dapr

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