使用移动服务时,应用服务有何作用? I use Mobile Services, how does App Service help?

概述Overview

现有的移动服务很安全,将继续受到支持。Your existing Mobile Service is safe and will remain supported. 但是,Azure 应用服务平台为移动应用提供了移动服务当前所不具备的优点:However, there are advantages that the Azure App Service platform provides for your mobile app that are not available today with Mobile Services:

  • 针对包含 Web 和移动客户端的应用提供更简单且更符合成本效益的功能Simpler, easier and more cost effective offering for apps that include both web and mobile clients
  • 新主机功能包括 Web 作业、自定义 CName 和更完善的监视New host features including Web Jobs, custom CNames, better monitoring
  • 与流量管理器集成Integration with Traffic Manager
  • 除了混合连接以外,还可使用 VNet 连接到本地资源和 VPNConnectivity to your on-premises resources and VPNs using VNet in addition to Hybrid Connections
  • 使用 NewRelic 或 AppInsights 对应用进行监视、发出警报和故障排除Monitoring, alerting and troubleshooting for your app using NewRelic or AppInsights
  • 更广泛的基础计算资源与定价层Richer spectrum of the underlying compute resources and pricing
  • 内置自动缩放、负载均衡和性能监视。Built-in auto scale, load balancing, and performance monitoring.
  • 内置过渡、备份、回滚和生产测试功能Built-in staging, backup, roll-back, and testing-in-production capabilities

新托管功能New hosting features

Azure 应用服务中,移动应用后端代码与 Web 应用和 API 应用在相同的容器中运行。In Azure App Service, the Mobile App backend code runs in the same container as Web App and API App. 可以使用此容器中的所有功能,包括移动服务中目前不具备的功能:You can take advantage of all the features in this container, including some that are not currently present in Mobile Services:

  • 通过 Web 作业添加连续运行的后端逻辑Add continuously running backend logic via Web Jobs
  • 确保后端代码始终运行Ensure your backend code is always running
  • 使用自定义 CName 为移动设备后端终结点提供友好、稳定的名称Use custom CNames to provide friendly and stable names to your mobile backend endpoints
  • 使用流量管理器异地缩放应用Geo-scale your app with Traffic Manager
  • 包含任何所需的库和包。Include any libraries and packages you want.
  • (适用于 .NET)使用 ASP.NET 的任何功能,包括 MVC(For .NET) Use any feature of ASP.NET, including MVC
  • (适用于 Node.js)使用 Node 生态系统的任何纯 JavaScript 库,包括常用的 MVC 库。(For Node.js) Use any pure JavaScript library of the Node ecosystem, including common MVC libraries.

使用 VNet 访问本地数据Access on-premises data using VNet

有了移动服务,便可以使用混合连接访问本地资源。With Mobile Services today, you can already use Hybrid Connections to access on-premises resources. 但是,在某些情况下,VPN 解决方案更合适。However there are situations where a VPN solution is preferred. 通过 Azure 应用服务,可以将 Azure VNet 用于移动应用后端代码。With Azure App Service, you can use Azure VNet for your Mobile App backend code.

使用偏好的后端语言Use your favorite backend language

Azure 应用服务 提供对 ASP.NET 与 Node.js 平台更广泛、更丰富的支持,包括对最新运行时的访问。Azure App Service offers broader and richer support for ASP.NET and Node.js platforms, including access to the latest runtimes.

设置自动缩放Set up automatic scale

使用移动服务时,后端代码的所有实例都在小型 VM 上运行。With Mobile Services, all instances of your backend code were running on Small VMs. Azure 应用服务 允许从更丰富的选项中选择 VM 的大小。Azure App Service enables you to select the size of the VMs from a much richer set of options. 还可以根据各种性能指标快速纵向或横向扩展,处理任何传入的客户负载。You can also quickly scale up or out to handle any incoming customer load, based on various performance metrics.

知晓一切Be in the "know"

通过监视和警报自动通知用户和用户的团队,实时响应问题。React to issues in real-time with monitoring and alerts to automatically notify you and your team. 整合来自 AppInsights 的高级应用分析和监视功能,了解移动应用的执行方式。Integrate advanced app analytics and monitoring functionality from AppInsights to get insight into how your mobile app is performing. 使用 Azure 应用服务,可以根据多种性能指标,通过编程方式或 Azure 门户设置警报。With Azure App Service, you can now set up alerts based on variety of performance metrics, either programmatically and via the Azure portal.

保护资产安全Keep your assets safe

自动备份后端和数据库。Automatically back up your backend and database. 代码和数据受到保护,即使出现灾难也不会破坏并且可以轻松还原,让用户放心开展业务。Your code and data is secure from disaster and easily restored, allowing you to run your business with confidence.

各就位,预备,跑!Ready, Stage, Go!

使用 Azure 应用服务,可以为移动应用创建多个专用测试和过渡环境。With Azure App Service, you can now create multiple private testing and staging environments for your mobile apps. 可以在部署之前使用这些环境执行测试。Use them to perform testing before you deploy. 无需停机即可切换到生产环境。Swap to production with no downtime. 预先加载 Web 应用,确保最佳客户体验。Web apps are pre-loaded, ensuring the best customer experience.