将 Web 表单与 Blazor 相结合的最佳方法
情况: 在我工作的公司,我们正在使用十五年前以 Web 表单编写的大型应用程序。我们希望开始过渡到 ASP.NET core Blazor。这意味着整个应用程序必须用这种新技术重写。
问题: 由于它是一个相当大的应用程序,编程可能需要长达两年的时间。旧应用程序由多个模块组成,我的经理希望我在新的 blazor 应用程序中逐个模块进行转换(随后将进行测试)。在 Blazor 中对模块进行编程后,我们希望旧应用程序重定向到新应用程序中的给定模块。这意味着我们需要在过渡期间同时运行两个应用程序。此外,我们需要一种方法,当用户登录旧应用程序时,他会自动登录新应用程序。
问题: 是否可以允许使用同一域(可能是新应用程序为domainname.com/new 的虚拟主机)同时登录(共享会话)?关于这种临时混合架构的最佳方法是什么?如何配置服务器?有人有过类似的需求吗?
预先非常感谢您!
Situation:
At company where I work, we are using a big application that was written in Web forms fifteen years ago. We would like to start transition to ASP.NET core Blazor. This means that the whole application must be re-written in this new technology.
The problem:
Since it is a quite big application, the programming might take up to two years. The old application is structured in several modules and my manager would like me to convert module by module in the new blazor application (which will be followed by testing). Once a module is programmed in Blazor, we would like that our old application redirects to the given module in the new application. This means we need to keep running both application at the same time during the transition period. Also, we need a way that when a user logs in the old application he is automatically logged in the new app.
The question:
Is it possible to allow this simultaneous login (share session) using the same domain (maybe virtual hosts where the new application is domainname.com/new)? What would be the best approach regarding the architecture of such temporary hybrid? How to configure the server? Has anyone had some similar needs?
Thank you very much in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论