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

All we need is an easy explanation of the problem, so here it is.

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 ?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

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.

Method 2

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?

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply