In ASP.NET MVC I have routing, view, controllers, ... and in Angular I have these thins again... why the redundancy?
So I tried to explain him that the frameworks are not the same.
First the main difference is that ASP.NET MVC is executed on the server-side and Angular is executed on the client-side. If you want a fancy, interactive and desktop-like webapplication you can not get around a framework like Angular.
At the moment you use Angular you mostly do not need the M and the V of ASP.NET MVC anymore and you end up with something like ASP.NET Web API. The M and the V moved to the clientside represented by Angular which is now responsible for the rendering of the UI. ASP.NET Web API is for providing and manipulating the data to and from the Angular UI.
Pros
- no serverside rendering of HTML
- no postbacks to the server and fullpage re-rendering
- requests to the server with a small footprint using ajax
- the full power of javascript
- fast and responsible application
- caching of static javascript and html templates
Conclusion
In a world of thousands of frameworks around it sometimes isn't clear which framework is responsible for which tasks. Back to the example you may realize that Angular replaces a part of ASP.NET MVC if you code a fully fledged webapplication.
Wow nice blog
AntwortenLöschenCheck this out
digital marketing course with paid internship in coimbatore