azure - azure 上 'connection strings' 的项目是什么?我该如何添加它?

标签 azure

这是图片。
http://www.dotup.org/uploda/www.dotup.org3258537.jpg

我有一个连接字符串来连接到我网站的 web.config 上的 SQL Server 数据库。
Azure 门户上的此项目会给我带来好处吗?

最佳答案

它是网站门户的“链接资源”部分中项目的连接字符串 - 目前仅支持 SQL 数据库(例如,不支持 Windows Azure 存储)。以下为documented :

Connections Strings – View connection strings for linked resources. For .NET sites, these connection strings will be injected into your .NET configuration connectionStrings settings at runtime, overriding existing entries where the key equals the linked database name. For PHP and Node sites these settings will be available as environment variables at runtime.

Note Connection strings are created when you link a database resource to a website and are read only when viewed on the configuration management page.

关于azure - azure 上 'connection strings' 的项目是什么?我该如何添加它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11732111/

相关文章:

azure - 如何确保Azure服务总线中的所有订阅都已处理消息

azure - 如何在 Azure 数据资源管理器中设置柱形图的颜色

azure - 如何在Graph API中按lastModifiedDateTime或lastModifiedBy用户displayName进行排序?

c# - 403 禁止使用 Azure Graph API

.net - 在 SQL Azure 上部署数据层项目 - 部署前和部署后使用主数据库

azure - 如何自动将 AKS 日志上传到 Azure 存储帐户

.net - 跨环境的 Azure Web 角色配置设置

azure - Application Insights 是否可以添加到 .NET 4.0 DLL 中?

Azure B2C 编排错误 AADB2C90108

azure - 在 Azure Pipelines 上安装编译器