为印度和美国观众托管ASP.NET Core 2.1 Web App和扩展 [英] Hosting ASP.NET Core 2.1 Web App and scaling for India and the US audience

查看:68
本文介绍了为印度和美国观众托管ASP.NET Core 2.1 Web App和扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET Core 2.1 Web应用程序,其中Angular作为前端,WebAPI作为后端。我想在Azure中托管这些服务以及以下内容。

I have an ASP.NET Core 2.1 web application with Angular as the frontend and WebAPI as the backend. I want to host these services along with the following in Azure.


  • ASP.NET Core 2.1 Web API(后端)
  • Angular 7.0 (前端)
  • Azure SQL DB
  • Azure Blob存储
  • Azure表存储
  • Azure Cortana服务
  • Azure Cosmos DB
  • Azure AD B2C多租户

我想扩展Web应用程序以上应用程序用于印度和美国受众的服务。我需要注意哪种配置才能很好地扩展?

I want to scale the Web Application with the above services that the app uses for the audience in India and the US. What kind of configuration that I need to be aware to scale well?

推荐答案

只是为了突出显示,Azure优惠托管网站/应用的几种方式:Azure App Service WebApps(PAAS
解决方案),虚拟机(IAAS),Service Fabric和云服务(PAAS) 。
参考文档
< span style ="font-size:10.0pt; font-family:'Verdana',sans-serif"> Azure应用服务,虚拟机,服务结构和云服务比较
有关此主题的更多详细信息。

Just to highlight, Azure offers several ways to host websites/apps: Azure App Service WebApps (PAAS solution), Virtual Machines (IAAS), Service Fabric, and Cloud Services (PAAS). Refer the documentation Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison for more details on this topic.

Azure App Service(PAAS解决方案)是大多数Web应用程序的最佳选择。部署和管理集成到平台中,站点可以快速扩展以处理高流量
负载,内置负载平衡和流量管理器提供高可用性。

WebApp  是一个完全托管的计算平台,针对$ b进行了优化$ b托管网站和网络应用程序。

看一下本博客中概述的一些方法

将Angular和.NET Core 2.1部署到Azure云
并查看是否有帮助。

Take a look at some of the approaches outlined in this blog Deploy Angular and .NET Core 2.1 to the Azure Cloud and see if that helps.

注:
此响应包含对第三方URL的引用。 Microsoft不控制这些站点,也未测试在这些站点上找到的任何软件或信息。

您可以使用流量管理器将流量路由到特定区域(印度和美国),并且不同的Azure服务提供不同的缩放选项,您可以根据您的要求利用

请查看以下文档,了解不同的最佳实践方法:

在多个Azure区域中运行Web应用程序以实现高可用性
,其中显示了有关如何在多个区域中运行Azure App Service应用程序以实现高可用性的参考架构。

Kindly checkout the following documents for different best practice approach: Run a web application in multiple Azure regions for high availability which shows reference architecture on how to run an Azure App Service application in multiple regions to achieve high availability.

在Azure Web应用程序中提高
可伸缩性
-
这个参考文献chitecture显示了在Azure App Service Web应用程序中提高可伸缩性和性能的成熟实践。


这篇关于为印度和美国观众托管ASP.NET Core 2.1 Web App和扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆