As I’ve spent time with AngularJS, I’ve become very impressed with the clarity it brings to developing enterprise-level web applications. I thought it would also be valuable to create a GitHub repository with some examples of how one might integrate AngularJS with ASP.NET MVC.
Thus, the Angular-MVC-Cookbook repository was born. I hope that I (and perhaps some of my colleagues at Wintellect) can provide some good, practical examples of techniques that make the most out of the integration of these two valuable frameworks.
But maybe some overview first.
There are many frameworks out there that try to reign in the complexities of web application development to varying degrees of success. Steve Sanderson does a good job of summarizing some of the options here. What makes AngularJS different? Let me offer a few opinions.
I’ve done a lot of development on both Windows and the Web. I’ve enjoyed writing MVVM applications in Silverlight and WPF (using .XAML and view models) but writing web applications never seemed to fit into a similar simple but effective model. However, the model that AngluarJS defines feels familiar and comfortable. For example:
I’m not implying, of course, that AngularJS perfectly matches up to Silverlight/WPF programming, but the similarities are appealing. More importantly, the model that AngularJS provides should help developers be more productive, just like the MVVM pattern helped XAML developers.
It might surprise you that I would even ask this, but I think it is an important question. ASP.NET MVC is a robust and mature platform for creating enterprise-level web applications, but there are of course other platforms out there that might be more appealing. Should one consider a Microsoft platform over Apache/LAMP, Node.js, or other alternative?
I would summarize my answer to this as follows:
My purpose is not to make a sales pitch for Microsoft technologies, but I do believe that ASP.NET MVC is a strong platform for building enterprise web applications.
As we all know, web development has moved forward. Whereas before we might create beautiful Flash or Silverlight applications to enhance the user’s web experience, those days are unfortunately gone. With the preponderance of devices using the web, we can’t depend on plug-ins to drive our applications.
Web standards have also moved forward. HTML5 and CSS3 are now the new goal posts for building an enhanced web experience. SPA (single-page applications) are the new normal.
Therefore the robustness of the ASP.NET MVC platform needs an equally robust client framework. I am convinced that AngularJS will be a great partner.
And, perhaps, as we add examples to this cookbook, you might be convinced as well.
Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…
Cloud management is difficult to do manually, especially if you work with multiple cloud…
Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…
https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…
FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…
Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…
View Comments
PingBack from http://gokulraja.wordpress.com/2013/02/20/useful-asp-net-mvc-html-js-framework-posts/
It's good article thanks. Have an Angularjs, MVC, RESTful Web Service Entityframework example at http://angularjsaz.blogspot.com/2015/09/tutorial-32-angularjs-works-with-web-api.html
It's good article thanks. Have an Angularjs, MVC, RESTful Web Service Entityframework example at http://angularjsaz.blogspot.com/2015/09/tutorial-32-angularjs-works-with-web-api.html