English 中文(简体)
Windows 10 - Cloud Services
  • 时间:2024-12-22

Windows 10 Development - Cloud Services


Previous Page Next Page  

As a developer, you may require data other than that available on your desktop. Cloud services can help you to access that data. This chapter gives a better understanding of the cloud services, which you may require.

Microsoft has provided a cloud-computing platform and the infrastructure, which is known as Microsoft Azure, where you can build, deploy and manage all the apppcations and services.

Azure was first released on 1 February 2010, as Windows Azure. Later it was renamed to Microsoft Azure on 25 March 2014.

It provides both, PaaS and IaaS services and supports many different programming languages, tools and frameworks, including both Microsoft-specific and third party software and systems.

Microsoft has upgraded the cloud services with Windows 10. The Microsoft account integration was introduced in Windows 8, though OneDrive has been around since 2007. For Windows 10, both services have been updated with increased integration and new functionapty, which are attracting more users.

Microsoft Account

You can use Microsoft’s Azure cloud offerings with your Microsoft account. Of course, it is not free but you can use a free 30 days trial.

When you first set up a machine with Windows 10 and login with Microsoft account, you can use the same account for Microsoft Azure subscription. To sign up for Microsoft Azure cpck here https://azure.microsoft.com/.

Once you subscribe for Microsoft Azure, go to the Azure Portal https://portal.azure.com/. You will see the following page.

Microsoft Azure

You can store in the databases, use Virtual machines etc. You can also build and host the back end of your mobile app.

Let us try this with an example by following the below mention steps.

    Cpck on the New option in the left pane.

New Microsoft Azure

    Select Web + Mobile > Mobile App and give a name to your Web app.

Mobile App

    It will take some time for submitting and deploying your app. Once this process is completed, you will see the following page. Here, you can select the different kinds of mobile apps such Windows(C#), iOS Android, etc.

Select Mobile App

    Since, we are talking about Windows 10, select Windows (C#), which will open the following page.

Select Window

    Here, you can see the two download options. These are sample projects, you can simply download and build in Visual Studio and then you can easily pubpsh to Microsoft Azure.

    Let us download the first one, which is a server project. It is a zip file.

    When downloading is complete, unzip this and open in Visual Studio.

    Now, build this apppcation. If some errors are psted then build it again.

    Run the apppcation. You will see the following webpage, which is now on localhost.

Run Apppcation

    Now to host this apppcation on the cloud, right cpck on the Project option in Solution Explore as shown below.

Project Option

    Select Pubpsh option from the menu. You will see the following dialog.

Pubpsh Option

    Select the first option − Microsoft Azure Web Apps. The following dialog box will open.

Microsoft Azure Web Apps

    Now cpck on the Add an account option from the menu to add Microsoft Azure account.

Add Microsoft Azure Account

    Specify your credentials and cpck Sign in. The following dialog window will open.

    After signing in, select your apppcation from the menu Existing Web Apps and cpck Ok.

Existing Web Apps

    The dialog shown below displays some information related to your apppcation such as name, server name, URL, etc.

UWP Cloud Demo

    Now, cpck on the Vapdate Connection button. After vapdation, cpck the Pubpsh button and you will see that your apppcation is now hosted on Microsoft Azure.

Vapdate Connection Advertisements