Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add angular 6 to existing MVC project

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

like image 391
Faisal Avatar asked Dec 02 '25 10:12

Faisal


1 Answers

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.

like image 169
Mehmet Taha Meral Avatar answered Dec 05 '25 03:12

Mehmet Taha Meral



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!