[英]How to use one angularjs app in a different web application?
I have made an angularjs app and I want to use it in another web application (eg. C# .Net,JAVA). 我已经做了一个angularjs应用程序,我想在另一个Web应用程序中使用它(例如C#.Net,JAVA)。 I have another web app (which does not use angularjs) and when I click a button it should be redirected to my angularjs app to use the functionalities.
我有另一个Web应用程序(不使用angularjs),当我单击按钮时,应将其重定向到我的angularjs应用程序以使用功能。 How can I achieve this?
我该如何实现? Thanks!
谢谢!
IMO, for C# Web App, you can use RedirectPermanent("<AngularJsApplicationFeaturePageUrl>")
; IMO,对于C#Web App,可以使用
RedirectPermanent("<AngularJsApplicationFeaturePageUrl>")
; spend time in AngularJs application and when it completes, AngularJs Web Application is responsible for redirecting us to appropriate page in C# Web App. 花时间在AngularJs应用程序中,当它完成时,AngularJs Web应用程序负责将我们重定向到C#Web App中的相应页面。
For Example, 例如,
You might have experienced it in e-commerce apps. 您可能在电子商务应用程序中经历过。 For buying\\ checking-out items, you will be redirected to Bank's fund transfer page.
对于购买\\结帐项目,您将被重定向到银行的资金转移页面。 When you are done, Bank website will redirect you to original e-commerce app.
完成后,银行网站会将您重定向到原始的电子商务应用程序。
You are seeing in Identity Module Providers like Azure Active Directory , Google Single Sign On ,.. redirects you to its login page to challenge your identity and posts you back to original website. 您会在身份模块提供程序(如Azure Active Directory , Google Single Sign On ,..)中看到您将其重定向到其登录页面,以挑战您的身份并将您发回到原始网站。
You can find a ton of examples for above use cases. 您可以找到上述用例的大量示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.