你的位置: 码友网首页 / 资讯源列表 / Moving from Controllers and Actions to Endpoints with MediatR

关于[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

收录时间: 2019-11-21 浏览量: 1658 分类: ASP.NET Core

| 0 收藏 | 0