最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - How to keep modulith with independent modules and send a request to another module? .NET 9 Modulith - Stack Overflow

programmeradmin2浏览0评论

(Portuguese speaker by the way, sorry if the question isn't clear)

I'm working on a 9 modular monolith architecture project(Modulith), the programmer who made the project just leave the company.

I'm using a module called RecebimentoCompras and after doing inclusion i need to use a method that is in the Faturamento Module.

Usually the modules are complete independent of each other, there are a Base module that is the main, and i add the others as dependencies, that allow me to compilate just the modules that i modified and release more easily.

Do anyone have any alternative?

Since i'm using mediatr i guess i could use the base module to declare the IRequest and just call from RecebimentoCompras, but i already did that for login and if i have to use this everytime i have to comunicate intermodules i think my base module is going to be a little mess.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论