Reputation: 6676
Is there much point to using angular js on top of asp.net mvc since they're kind of both doing the same thing? What are the advantages to using angular over asp.net mvc + jquery? What kind of scenario would you pick angular in? If you do pick angular in a microsoft environment, what would you run on the server side? Would it be something like Web API? Or is there still benefit of using traditional asp.net mvc?
Upvotes: 46
Views: 15863
Reputation: 59
If you fancy using Java Script framework then Angular JS rocks. SEO could be the issue. You need to have deeper understanding of DOM and Java Script as compared to other famous JS Frameworks. I ve developed a Proof of Concept - using Angular JS with Require JS using ASP.net MVC You can have a look at it at the below given link http://angualrjsrequirejsaspmvc.blogspot.com/2013/08/angular-js-with-require-js-front-end.html
Upvotes: 1
Reputation: 5891
On my site http://www.reviewstoshare.com, I am using AngularJS along with ASP.NET MVC. The main reason I did not go all the way with AngularJS was that SEO is not easily achieved with AngularJS. Keep in mind that my site was already built using ASP.MVC + Jquery for in page interaction as needed.
On the other hand there is still some "Ajaxy" nature to the site like comments, voting, flagging etc. Not too different than Stackoverflow itself. Before AngularJS it was a mess of Jquery plugins and functions within $(document).ready()
callback, not to mention the JS code was not testable much.
In the end, I went with both.
Upvotes: 14
Reputation: 40863
This question is a bit subjective, however here was our reasoning.
<html/>
content.As with all frameworks pick the one that suites your needs
Upvotes: 25