Asp.net mvc vs Angular JS for developing applications

16,231

Both ASP.NET MVC and AngularJS has their own purposes and advantages. As with your specific question, AngularJs is better for SPA (Single Page Applications), where as ASP.NET MVC is a full fledged server side Application which can contain WebAPIs, Routing engine as well as HTML emitting Views.

The reason why always a server side application like ASP.NET MVC is preferred first is that, it caters all basic needs, whereas AngularJs in many cases is cherry on top of the cake. It gives a smooth user experience for web applications. Also AngularJs is not very consistent as it depends on the user's browser which varies a lot and could lead to inconsistent results. So a server side application is always the best fallback to make sure the user's basic purpose is fullfilled.

Share:
16,231
Aditya Bokade
Author by

Aditya Bokade

I am professionally a Technical Corporate Trainer with 6 years experience. I love teaching since childhood and my luck took me to the most valued profession of teaching, A Corporate Trainer. I had obtained certification in .NET framework winforms 3.5. Staying in a City called "Belgaum" that is 400 Miles away from IT hub of India, yes.."Bangalore". Apart from Spending 6-7 hours a day on my PC learning new things in .NET technology, I love to spend some time for music, Discovery channel and of course for my wife! I want to do something in life in .NET..Target is at least to become Microsoft Certified Trainer asap..

Updated on June 17, 2022

Comments

  • Aditya Bokade
    Aditya Bokade almost 2 years

    What I understand:

    Asp.net MVC is used to develop applications that processes request at server. It also delivers view. But ultimately it renders the view at server and sends plain HTML to user.

    On the other hand, angular JS does not do any processing at server. It only serves HTML or JavaScript files to client and then client executes those files. Angular Application only expects Data via services that run on server.

    My Question:

    If at all angular does not cause any server side processing load, why not to use it always to develop front end application, and on server why not to use any service (Such as web API or WCF) instead of MVC? In short, why do we need to server side view processing framework at all, instead we can have service at server and angular application on client?