Shortcuts

MVC Vs Web API Angular JS

I was researching the best pattern to implement in our new project. As you know Angular JS is the hottest cake. So we thought we would implement that. But Angular JS provides the same kind of mechanism like Model and Routing. These are already there in MVC.
Only difference is that these things are server side. Why do we need to follow ANGULAR JS MVW model? I could only see the advantage if we create webapi to serve JSON response then on top of that create HTML 5 application using ANGULAR. But can't we create
ASP.NET MVC application using ANGULAR without redoing what asp.net is already doing?

Re: MVC Vs Web API Angular JS

Anirban100

Why do we need to follow ANGULAR JS MVW model? I could only see the advantage if we create webapi to serve JSON response then on top of that create HTML 5 application using ANGULAR. But can't we create ASP.NET MVC application using ANGULAR without redoing what
asp.net is already doing?

If you want to see and experiment the different, use your old application. But like the previous reply you can do it with your new project, from here also you can get the benefit of using AngularJS.

It is not always using AngularJS, in my case for a simple CRUD and it maintain not frequently still better use ASP.Net MVC, because optimization is not a concerned.

Re: MVC Vs Web API Angular JS

Thanks for your reply. and sorry i could not reply as i was on vacation. So i could understand if the project is new and utilizes SPA then we should go ahead with AngularJs and WebApi. But is there any advantage in using Angular in MVC?

Re: MVC Vs Web API Angular JS

I know that. but my question is should i? ours is a SPA. So we are thinking best possible approach to handle. i think ASP.NET and Angular is not a good solution. What would be the best solution in your opinion. ASP.NET MVC or angular with WebApi? Also it
is a new project so we are pretty open to anything, Please let me know if i have any misconception.