Upload
brian-blanchard
View
824
Download
3
Embed Size (px)
DESCRIPTION
Covers the basics of building a website to be hosted on Microsoft's Azure Platform. Lab and demo can be found on devrevival.com. Material pulled from Window's Azure BootCamp. Additional presentations & labs available on AzureBootCamp.com
Citation preview
Websites in the Cloud
Brian Blanchard – Chief Architect / CIO - HyperVize
Web Roles
• In this session- What is a web role?- What can we do with them?- Basic role configuration.- Local debugging.
What is the web role?
A web role hosts an IIS based web site or service.• Supports HTTP and HTTPS and certificates• Automatically load balanced by Azure• Can be internal only, but usually public facing• Runs on IIS7• Usually runs an ASP.NET site.
DevFabric
The DevFabric is a local simulation of the real fabric and fabric controller.
• Based on 90% of the real fabric code• Uses a local SQL instance to simulate storage• Only way to debug your application• Use the DevFabric UI to watch your processes
DevFabric Icon
DevFabric UI
DevStorage UI
Are we running in the fabric?
Hello cloud.
Debugging locally
• You can debug locally just like a normal ASP.NET application.
• Full support for multiple instances.
Debugging in the cloud?
No. No debug for you.
Looking at configuration.
• Configuration is handled by two files.– ServiceDefinition.csdef– ServiceConfiguration.cscfg
Service Specific
Role Specific
Service Definition
Service Configuration
GUI
Double click on Role Name in Azure Project
Settings
Certificates
Endpoints
Hello Cloud
• demo
Deploying to the cloud
• We can deploy from the portal or from script• VS builds two files.
– Encrypted package of your code– Your config file
• You must create an Azure account, then a service, and then you deploy your code.
• Can take up to 20 minutes – (which is better than six months)
Deploying to the cloud
Q & A