首页 新闻 会员 周边 捐助

你赞同用 Minimal API Endpoint 作为 Application 层吗

0
悬赏园豆:30 [待解决问题]

昨天晚上看到的一篇博文 Treat your .NET Minimal API Endpoint as the application layer,作者的思路让人眼前一亮

The responsibility of the endpoint as your application layer is similar to your traditional application layer. The endpoint:

  • validates the request
  • translates the request to something the domain or core understands
  • invokes the business logic
  • returns a response
dudu的主页 dudu | 高人七级 | 园豆:24616
提问于:2025-11-02 13:48
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册