Reputation: 604
i have a MVC project (.net framework 4.5) a large project many views and controllers i want to change index.cshtml view with angular 6 component. mean only home page will be developed by using angular other will remain same as it is tell me how to do it if it is possible
Upvotes: 3
Views: 12238
Reputation: 3843
You just need to add angular 6 into your project and the rest would be same with this.
https://www.codeproject.com/Articles/1181888/Angular-in-ASP-NET-MVC-Web-API-Part
And this is also great short video with almost every detail of adding angular into ASP.Net MVC project.
https://www.youtube.com/watch?v=rbHSTJBhJ44
Late october 2018 update: Angular 7 is released a couple of weeks ago. The video shows upgrading Angular 4 to 5. You can use the same approach to upgrade your Angular project to Angular 7 to get benefit of new nice features.
Upvotes: 6