关于[Moving from Controllers and Actions to Endpoints with MediatR]的摘要:
Controllers are a key part of the MVC pattern. They’re the entry point, responsible for interacting with one or more Models and returning a View. Although these days it seems MVC is used more for APIs than for Views, so it’s more like Model-View-Result or Model-View-JSON. Whatever. The point is, they’ve been around a while and they’re pretty central to a lot of web applications out there, especially in the .NET space. But their dominance is probably over...
原文地址: https://ardalis.com/moving-from-controllers-and-actions-to-endpoints-with-mediatr