Hello there,
my current project is #3 ASP.NET MVC 5.x + ANGULARJS 1.x. i would like to go to #1 ASP.NET CORE + ANGULAR 4.x
but ... i've a custom angular app (another than the Dashboard) that will remains in angular 1.X for at least 2017.
i would like to know the possibility to use ASP.NET CORE + angular 4.X Dashboard + custom app angular 1.X.
knowing that this custom app uses permissions, features, AppService from backend.
Does JS interfaces with AppServices are the same in the latest project and old ?
or does all abp. services in JS are migrated to angular2 ? or maybe i can use the new abp. services for Dashboard; and the old one with angular 1.X; if the backend is still the same.
thanks for your help
3 Answer(s)
-
0
Hi,
What you are thinking is possible but it requires some extra work. First, ASP.NET Core uses conventional HTTP verbs but angular1 version uses POST for all requests.
You can disable conventional HTTP verbs for ASP.NET Core, regenerate proxies for that and fix errors in typescript files. There is a bat file in solution which refreshes typescript proxies automatically.
For angular1 side, you can still use GetScripts action to generate client side scripts.
There might be some points which I cannot remember right now but we can help you if you face any problems.
Thanks.
-
0
Thanks for your reply ;)
i'll think a little bit more about that; but I think it will be easier for me to maintain the ANZ MVC 5.X in my project for few more months, & try to migrate my whole app in angular2 in the same time.
it will save me/you some time :)
-
0
Thanks :)