get set.. introduction to windows azure development brian mckeiver, kentico mvp & partner/senior...

37
Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Upload: louisa-ferguson

Post on 17-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Get set.. Introduction to Windows Azure DevelopmentBrian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Page 2: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Kentico Virtual Conference AgendaTime Session Information Register7:00 –8:00 AM PST10:00-11:00 AM EST3:00-4:00 PM BST

Are you ready? Introduction to Cloud Computing and Windows Azure Speaker: Vince Mayfield, CEO Bit-Wizards

Register me

Break8:30-9:30 AM PST11:30–12:30 PM EST4:30-5:30 PM BST

Get set.. Introduction to Windows Azure Development Speaker: Brian McKeiver, Kentico MVP and Partner/Senior Developer at BizStream

Register me

Break10:00–11:00 AM PST1:00 –2:00 PM EST6:00–7:00 PM BST

Go…Running Kentico CMS on Windows Azure Speaker: Thom Robbins, Chief Evangelist Kentico CMS

Register me

Break11:30–12:30 PM PST2:30–3:30 PM EST7:30 –8:30 PM BST

Deployment options for Kentico CMS on Windows Azure Speaker: Bryan Soltis, Kentico MVP and Director of Technology and Research at Bit-Wizards

Register me

Break1:00 PM–2:00 PM PST4:00–5:00 PM EST9:00–10:00 PM BST

Best Practices for Kentico CMS and Windows Azure Speaker: Dominik Pinter, Group Product Manager/SaaS and Cloud

Register me

Break2:30–3:30 PM PST5:30–6:30 PM EST10:30–11:30 PM BST

Advanced development with Windows Azure Speaker: Bryan Soltis, Kentico MVP and Director of Technology and Research at Bit-Wizards Register me

Break4:00–5:00 PM PST7:00–8:00 PM EST12:00–1:00 AM BST

Common questions for Windows Azure and Kentico CMS Speaker: Kentico Cloud and SaaS Development Group

Register me

Page 3: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Goals

• Understand Compute / Storage / Roles • Enable your machine for Windows Azure

development• Build your first Windows Azure App• Simple Deployment Example

Page 4: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Compute

• Windows Azure Compute is one of the five parts of Microsoft's cloud computing service

• Runs various types of applications

Page 5: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Storage

Windows Azure Drive allows applications to mount a BLOB formatted as a single volume NTFS VM. – You can move your VMs between private and public clouds

using Windows Azure Drive

Storage or Data Management • SQL Databases• Blobs• Tables• VMs

Page 6: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Roles

The main difference between the two is that an instance of a web role runs IIS, while an instance of a worker role does not

Web Role Worker Role

Azure Roles can be thought of as background process runners, almost like your own thread in the azure cloud

Page 7: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Roles in VS2012

Page 8: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Putting it all Together

Page 9: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Management Portal

Portal == Developer Console to everything Windows Azure

Page 10: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Free Car !?!

• Activate your account through MSDN– https://account.windowsazure.com/signup

• Benefits include up to $150 in credits

Page 11: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Sign Up

Create your Subscription Account

Page 12: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Ready to Go to Portal

Click on Management Portal

Page 13: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Portal

Page 14: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Portal Create New Site

3 options for new Web site

Page 15: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Portal Create New Service

Custom Create SQL Server Databases as one example of a Serviceor

Import your own

Page 16: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure Storage Account

• Since we are here, let’s create one

Page 17: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Storage Account Creation

• URL: How you access your objects in Storage• Location: Use an Affinity Group to be in same data

center

Page 18: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Portal Networking

This is where you can link the Cloud and On-Premise

Page 19: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Portal Settings

- Powerful Diagnostics info available- Enterprise Library 5.0 Integration Pack for Windows Azure

(Good Add-on Library)msdn.microsoft.com/en-us/library/hh680918%28v=pandp.50%29.aspx

Page 20: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Questions on Azure Portal ?

Page 21: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Configure Visual Studio 2012

• Ensure the following first– Visual Studio 2012 Update 2• microsoft.com/en-us/download/

details.aspx?id=38188

– You can use VS2010 …but it is 2013 right ?

Page 22: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Azure SDK

• Windows Azure SDK 2.0 released May 2013• 2 choices to get it

– Windows Azure site• windowsazure.com/en-us/downloads/

or– Web Platform Installer• microsoft.com/web/downloads/platform.aspx

Page 23: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Web Platform Installer

Page 24: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

NuGet Packages

Page 25: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

New Project

Open up VS2012 and Create a new Project

Page 26: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Build

Make sure it works

Page 27: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Publish

• Open the Publish Wizard

Page 28: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Publish Wizard

Page 29: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Import Profile from Subscription Account

.publishsettings file

Page 30: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Publish Wizard Profile

Click Validate Connection

Page 31: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Publish Wizard Settings

Page 32: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Publish Wizard Preview

Page 33: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Push It!

Page 34: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Source Control Reminder

I don’t care which one, just use one!

…ok maybe not Visual Source Safe though

Page 35: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

What We Learned

• The different areas of Windows Azure– Compute / Storage / Roles

• How to prep your machine for Windows Azure development

• How to create a simple Azure web site• How to publish from dev to the cloud in just a

few clicks

Page 36: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Questions ?

Page 37: Get set.. Introduction to Windows Azure Development Brian McKeiver, Kentico MVP & Partner/Senior Developer, BizStream

Thank You

Email:[email protected]

Web:http://www.bizstream.com

Blog:http://www.mcbeev.com

Twitter:@mcbeev

LinkedIn:http://www.linkedin.com/in/brianmckeiver