With AngularJs + Web API, why we need ASP.NET MVC and IIS?

后端 未结 2 532
庸人自扰
庸人自扰 2021-02-10 05:56

With AngularJs + Web API, why we need ASP.NET MVC and IIS?

Can I just use AngularJS plus WEB API to develop a web application without IIS and ASP.NET MVC ?

相关标签:
2条回答
  • 2021-02-10 06:37

    It is definitely possible from the technology point view. I see 2 areas of concern:

    1. Would clients with outdated browsers have problems accessing the site? This is less of a problem as new versions of browsers are getting released.

    2. Are the non-IIS hosted hosted Web API services robust and scalable enough?

    0 讨论(0)
  • 2021-02-10 06:53

    With AngularJs + Web API, why we need ASP.NET MVC and IIS?

    By off-loading all the logic onto the client without providing a server side fallback, you cause the site to break when the JS doesn't load, including for search engine indexing bots.

    Can I just use AngularJS plus WEB API to develop a web application without IIS and ASP.NET MVC ?

    Yes, it will just be fragile and invisible to search engines.

    0 讨论(0)
提交回复
热议问题