Modular application

纵饮孤独 提交于 2019-12-06 09:22:06

问题


Recently we decided to refactor our old web ASP.NET MVC project. We decided to use modular architecture and build it around the ASP.NET WebAPI to write dependent and independent modules for it. Is there any tutorial or explanation or library helping build modular web applications? If so, can you point me to this? Thanks in advance!!


回答1:


Depends on your necessity. If you need to provide service to the world outside your app domain go for SOA. If you need only project organization, just fallow Microsoft Application Architecture, or some Business Architecture Guide for .NET. You should see some of those guides using legacy Web Services or WCF, but Web API come to replace those in some way.

  • Service Oriented Architecture (SOA)
  • Microsoft Application Architecture

Web API today already can go outside IIS, and It's easy to do that using OWIN middleware. This should be a good addition to your project given that you want modularity.

  • Getting Started with OWIN and Katana
  • Use OWIN to Self-Host ASP.NET Web API


来源:https://stackoverflow.com/questions/20095572/modular-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!