asp.net-mvc-4 - 有了 AngularJs + Web API,为什么还需要 ASP.NET MVC 和 IIS?

标签 asp.net-mvc-4 angularjs iis asp.net-web-api

有了 AngularJs + Web API,为什么还需要 ASP.NET MVC 和 IIS?

我可以只使用 AngularJS 和 WEB API 来开发没有 IIS 和 ASP.NET MVC 的 Web 应用程序吗?

最佳答案

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



通过将所有逻辑卸载到客户端而不提供服务器端回退,您会导致站点中断 when the JS doesn't load ,包括搜索引擎索引机器人。

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



是的,它只是脆弱且对搜索引擎不可见。

关于asp.net-mvc-4 - 有了 AngularJs + Web API,为什么还需要 ASP.NET MVC 和 IIS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19609148/

相关文章:

asp.net - 在 javascript 中遍历模型对象(foreach 和 <text>)

javascript - 如何将选择 "text"的 SELECT 框发送到按钮上的函数以使用 angular 进行 ng-click?

ASP.NET 友好 URL

iis - 如何阻止 IIS SMTP 服务器发送退回邮件?

c# - 使用 Active Directory 或成员数据库的 MVC 4 身份验证

c# - 表单发布时将下拉列表中的选定值从 View 传递到 Controller

asp.net-mvc - 使用 MvcHandler 为每个请求添加带有访问 token 的授权 header

angularjs - 如何从 WordPress 对象设置字体样式

javascript - Angular : What is a factory?

c# - 映射路径 '/' 失败。 .net 4.0