Develop Windows 8 applications on Windows Azure Virtual Machine

Source: Internet
Author: User

Develop Windows 8 applications on Windows Azure Virtual Machine
Prerequisites

Windows Azure developer account: If you have a Microsoft MSDN subscriber account, you can apply for a Windows Azure developer account for free.

Create a virtual machine

Click "Add" in the lower left corner of the Windows Azure Protal page and select "virtual machine"-"from gallery ".

There are multiple options in Gallery. This article selects Windows Server 2012 R2 Datacenter.

After the VM is created, click the VM name to go to the system resource details page. You can learn about the current system resource usage and host details.

Configure the Windows 8 Development Environment

At the bottom of the page, click "Connect" to automatically generate a file with the suffix "rdp", and then prompt to download the file, which is a remote login file, you can use the remote login tool installed in the previous article to import the file. After running the file, you can log on to the Windows Azure virtual host.

Double-click the rdp file and enter the user name and password to remotely log on to the server.

After successful login, go to "Server Manager" to add a new user

In the Server Manager window, select "Tools" in the upper right menu and select the "Computer Management" option,

Click it to enter the Computer Management window, right-click the "Users" directory in the menu on the left of the window, and select "New User ...",

In the new user add window, add user "Developer" and password custom settings. This user will be used as a development account later, because in the cloud platform virtual host, the Administrator cannot be a development account directly, so you need to create this user account.

After creating a user, right-click the "Groups" menu and right-click the "Administrators" user group,

Add a "Developer" user to the Administrator user group,

After setting the user and user group, close the window and return to the Server Manager window. Click "Tools" -- "Services"

In the Services window, modify the Startup Type attribute of the "Windows Audio" and "Windows Audio Endpoint Builder" Services to Automatic, and start the service.

Return to the Server Manager Main Window and select "Local Server ",

In the window on the right, select "IE Enhanced Security Configuration" and set "Administrators" and "Users" to "Off ".

Use the shortcut key "Windows" + R. The Run window is displayed. Enter the "RegEdit" command to enter the registry editing window.

Modify the registration key of "ApplicationTileImmersiveActivation" in the Registry "Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ Main" and set its value to "1.

Return to Server Manager to Add a Windows 8 desktop style. In "Add Roles and Features Wizard", select "Role-Based or feature-based installation" and click "Next.

After adding "Desktop Experience", close all application Windows and use Alt + F4 to open the exit menu and restart the Windows Azure VM.

Install Windows 8 Application Development Tools

After the virtual machine is started, log on to the Remote Desktop. This login uses the "Developer" account created previously,

After successful login, use the IE browser to download and install Visual Studio development tools on the MSDN website.

So far, we have successfully configured and installed Windows 8 Development Environment on the Widows Azure virtual machine, from which we can see that I have also installed Windows Phone 8 SDK, as a veteran Windows Phone developer (if I ask why, the answer is "I like Windows Phone "). As we all know, virtual machines on Windows Azure run on Hyper-V, so Windows Phone 8 Emulator cannot be started. But can you connect to Windows Phone 8 through USB for remote debugging, I am still discussing this issue. If it can be implemented, I will share it in subsequent articles.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.