14
Microsoft Azure Introduction ISYS 512

Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud

Embed Size (px)

Citation preview

Microsoft Azure Introduction

ISYS 512

Microsoft Azurehttp://msdn.microsoft.com/en-us/library/azure/ux/develop/dd16

3896.aspx

• Microsoft Azure is a cloud computing platform and infrastructure, created by Microsoft, for building, deploying and managing applications and services through a global network of Microsoft-managed datacenters. • It provides both PaaS and IaaS services and supports many different

programming languages, tools and frameworks.

Working with Microsoft Azure

• Local development environment• Visual Studio• Azure SDK for Visual Studio. Download Azure SDK for .Net from this website:

• http://azure.microsoft.com/en-us/downloads/

• Azure Management Portal• Visual Studio Online (a paid service)• Azure components

The Components of Azurehttp://azure.microsoft.com/en-us/documentation/articles/fun

damentals-introduction-to-azure/

• 1. Compute:• Virtual machine• Website• cloud service

The Components of Azure• 2. Data Management:• Azure SQL Database• Storage Tables: Azure Tables provides a flat NoSQL way to store data. • Azure Blobs

The Components of Azure

• 3. Mobile Services:• store data in the cloud • authenticate users• send push notifications

The Components of Azure

• 4. Big Data: • HDInsight (Hadoop)• High-Performance Computing (Big

Compute)

• 5. Others

Creating an Azure Account• 1. Sign up for a Microsoft account. This is a regular Microsoft account and you can use any of your

email as user name.• http://blog.onedrive.com/

• 2. Visit this page: http://www.microsoftazurepass.com/ • 3. Select the country and enter your code.• 4. Click Submit. This will open a page with a Sign In button.• 5. Click Sign In button and sign in with your Microsoft account• 6. Complete some requested info to complete the registration.

Azure Management Portal Demo

• Azure Website:• http://azure.microsoft.com/en-us/

• Account• Portal

Creating a New Storage Account

• Click Storage, then click New• Assign a name• Choose a server location:

• West USA

Creating a SQL Server Database(You need to create a SQL server username and password)

• Click SQL Databases, then click New • Assign a database name• Choose a server

• Click Manage to open the database:• Login to the SQL Server with user name and password• Select Design to define the tables• Click Save to save the design

• Enter data:• Click New Query• Enter an SQL Insert Into statement• Click Run

Visual Studio 2013 Tools for Azure• Server Explorer

• Windows Azure

• Connecting to Azure:• Right Click Windows Azure, then select Connect to Windows Azure

• Windows Azure:• Storage• SQL Databases

• SQL Server Object Explorer

• SQL Server Object Explorer• Right Click SQL Server and select Add SQL Server

• Select the server• Login with user name and password

Example: Add a Foreign Key Constraint to CID Field of the Orders table• Select Orders table, then right click and select View Designer• Add the foreign key constraint to the CID field:• references dbo.customer (CID)

Demo: Creating a website with a page to show customer records with a dataGrid view.• New Project

• Visual C#/ Web/ASP.Net Web Application• Select a template:

• Empty• Check: Web Forms, and check Create remote

resources• Project/Add New Item to add a web form.• Open SQL Server Explorer and Add Server• Add a connection using server Explorer• Drag and Drop table from the Connection to

the webform

• Test run• Project/Publish