Best practice to share WebForm application with the new upgraded Blazor server app on Azure

huangapple go评论85阅读模式
英文:

Best practice to share WebForm application with the new upgraded Blazor server app on Azure

问题

I'm new to the ways of cloud computing. I have an existing website (e.g. www.old.com) that is in production and that has been moved to the Azure cloud. The old site implements Features A, B, and C and is running fine.

我对云计算的方式还很陌生。我有一个现有的网站(例如www.old.com),它已经在Azure云中投入生产,并且正在运行,它实现了特性A、B和C。

I am developing a new application for www.old.com) using Blazor server. The new app is an upgrade in technology to the old site but will eventually implement the same features A, B, and C.

我正在使用Blazor服务器为www.old.com开发一个新应用程序。这个新应用程序在技术上是对旧网站的升级,但最终将实现相同的特性A、B和C。

My question: What's a best practice for setting this up in the cloud that will allow me to keep the old site running but point the user to the new site when a feature is complete and ready to be viewed? In other words, when Feature A is available in the new site, can I have the user navigate to the new site for that one web page and then navigate back to the old site?

我的问题是:在云中建立这个架构的最佳实践是什么,它允许我保持旧网站的运行,但在一个特性完成并准备查看时将用户指向新网站?换句话说,当新网站中有特性A可用时,用户是否可以导航到新网站的一个网页,然后再返回到旧网站?

I have not tried to implement this in the cloud yet. Looking for direction on the best practice.

我还没有尝试在云中实施这个,正在寻找关于最佳实践的指导。

英文:

I'm new to the ways of cloud computing. I have an existing website (e.g. www.old.com) that is in production and that has been moved to the Azure cloud. The old site implements Features A, B, and C and is running fine.

I am developing a new application for www.old.com) using Blaor server. The new app is an upgrade in technology to the old site but will eventually implement the same feaures A,B,and C.

My question: What's a best practice for setting this up in the cloud that will allow me to keep the old site running but point the user to the new site when a feature is complete and ready to be viewed? In other words, when Feature A is avilable in the new site, can I have the user navigate to the new site for that one web page and then navigate back to the old site?

I have not tried to implement this in the cloud yet. Looking for direction onthe best practice.

答案1

得分: 0

你可以使用反向代理来有选择地从旧站点和新站点提供不同的 URL,以便进行迁移。微软在此方面有相关文档,可以参考:https://learn.microsoft.com/en-us/aspnet/core/migration/inc/overview

英文:

You can use a reverse proxy to selectively serve different URLs from the old and new sites as you migrate. MS has a doc section on this at https://learn.microsoft.com/en-us/aspnet/core/migration/inc/overview.

huangapple
  • 本文由 发表于 2023年3月7日 08:30:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/75657046.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定