TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vinayak ghanti
NA
95
11.7k
Angular2 Routing with Asp.Net MVC5
Mar 17 2017 6:14 AM
Hi Guys,
I have Asp.Net MVC 5 Razor Engine Project i have successfully configured the angular2 in this project and i have created the Components for Home/Index and i am getting result also but when am clicking on aboutus link its getting loaded the asp.net mvc controller after that i wont see its getting angular2 api call which i i have written for aboutus .
Example: app.component.ts this compoenent contain script to call home/index (asp.net mvc) and home/getscore (angular2 api) both are getting called and am getting data also.
app.aboutus.component contain script to call aboutus/getdata but not getting fired instead its loading normal mvc view
so basically i want to know how we can get angular2 routing and mvc5 routing work togther ?.
Please let me know.
Thanks
Reply
Answers (
1
)
AngularJs Data Grid
Issue for Angular 2 application after publish on Azure