Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

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 ?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer
    
Why would search engines care where Web API is hosted? – Dmitry S. Oct 26 '13 at 20:45
2  
But AngularJS has already resolved these issues, such as SEO... – Tony Bao Jan 26 '14 at 0:22
1  
Search engines will evolve. ;) I bet Google (the creators of AngularJS) have certainly began building Chromium/V8 into their search engine's site indexing capabilities. – Derrick May 8 '14 at 21:04

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?

share|improve this answer
    
Thanks and the Web API services are good enough to handle the loads. I am not sure if using AngularJs as web server is a good solution. – Tony Bao Oct 26 '13 at 21:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.