China Data Center
Currently, China Azure has two data centers, which are displayed in the Location field as "North China" and "East China".
The difference between creating an application on Azure
The main difference between developing applications on Azure in China and developing on azure abroad is that there are different URIs for Azure endpoint addresses in the Chinese region. For example, Azure and SQL database URIs usually end with Windows.NET. The URI endpoint is not the same, the developer must be able to identify, then configure the required tools and applications, and use the appropriate URI.
Century connected Azure account, no way to sign in by default.
Install Visual Studio, connect to China Azure
The steps are as follows:
Please use the following registry file:
Azure.reg
Windows Registry Editor Version5.00
[hkey_current_user\software\microsoft\vscommon\ Connecteduser]
"aadinstance" = " https://login.chinacloudapi.cn/"
" Adaluri "=" https://management.core.chinacloudapi.cn "
" Azurermendpoint "=" https://management.chinacloudapi.cn "
< Span class= "hljs-string" > "Azurermaudienceendpoint" = "https:// management.core.chinacloudapi.cn "
" enableazurermidentity " = "true"
"Graphurl" =" graph.chinacloudapi.cn "
To return the Reg value to an offshore Azure, use the registry file here:
Targetproduction.reg
Windows Registry Editor Version5.00
[Hkey_current_user\software\microsoft\vscommon\connecteduser]
"Uri" =-
"aadinstance" =-
"Adaluri" =-
"Azurermendpoint" =-
Azurermaudienceendpoint "=-
" enableazurermidentity "=-
"Graphurl" =-
"aadapplicationtenant" =-
[hkey_current_user\software\ Microsoft\visualstudio\14. 0\microsoftazureservices]
"resource management Audience endpoint "=-
" service management Endpoint "=-
Double-click the Azure.reg file, consent to pop-up information, allow registry value changes;
After the registry value is changed, Visual Studio login information is connected to the China Azure service.
Practical Scenario Example Cloud browser
Follow the instructions to enter the certification information;
Enter login information;
View resources in the China Azure subscription from Cloud Explorer.
Publish a WEB Application
Single-Machine Right-click menu, select "Publish" dialog box;
Select Microsoft Azure App Service;
Select an Azure account from the account selector;
Azure Resource Manager Tools
Single-Machine Right-click menu, select "Deploy" dialog box;
Select an Azure account from the account selector;
For resources that appear in the resource template but not supported by Azure China, the interface warns you;
Edit the template parameters to continue deployment.
The steps for other features are similar to this.
Install Visual Studio, connect to China Azure