First we will talk about what Microsoft Azure is and why you would want to use Microsoft’s cloud services.
Then we will take an existing on premise line of business (LOB) application with a SQL Server backend and walk through the process of moving the site to Microsoft Azure.
Migrate an Existing Application to Microsoft Azure
1. Migrate an Existing Application
to Microsoft Azure
Chris Dufour, ASP .NET MVP
Software Architect, Changepoint
Follow me@chrduf
http://www.linkedin.com/in/cdufour
2. Agenda
• Our scenario
• Microsoft Azure Overview
• Microsoft Azure SQL Database
• Microsoft Azure Web Sites
• Microsoft Azure Service Bus
12. Move on-prem SQL to Azure SQL
• Create the database in Microsoft Azure SQL DB
• Use SQL Server Management Studio to migrate
the DB contents
• This automates the process of exporting the data to a
local bacpac and importing it to the cloud DB
• Verify the Windows Azure SQL DB
• Update connection strings to point to the new DB
15. MicrosoftAzure Websites
Scalable Automated Flexible
High-density and secure
web hosting
Open publishing methods
and protocols
Integrated and open solution
Lowers customer
onboarding costs and
streamlines upselling
Upsell from shared to
reserved
Support for ASP.NET, PHP,
Node.js, and Java
Metering and throttling of
resources
Fully integrated into Web
App Gallery
16. Publishing in MicrosoftAzure Web Sites
Upstream
hardware
load-
balancers
Front-end
application
request
router
Persistent
storage
Temporary per-
app file storage
Web
application
databases
Web
application file
directories
Web Sites
Web Site
End user
HTTP/S
Request
Publisher services
carry out various file
operations against a
web application's
directory structure.
Publishers
FTP Service Web Deploy
Service
17. Development tools and protocols
support
Developer tools and protocols
ProtocolsDevelopment Tools
Visual Studio,
WebMatrix
Source control integration
Visual Studio Team Foundation Server 2010+
FTP, Git,
WebDeploy, HTTP
Upstream
hardware
load-
balancers
Front-end
application
request
router
Persistent
storage
Temporary per-
app file storage
Web
application
databases
Web
application file
directories
Web Sites
Web Site
End user
HTTP/S
Request
18. Move on-prem WCF to Azure Web Site
• Create the Web Site in Microsoft Azure
• Import the publish settings into Visual Studio
• This will help us create a publish profile so we can automate
deployments
• Publish the application
• It will deploy only changed files
• Update the Expenses WPF client to use the new
hosted service
• Verify the application
22. What is Service Bus Relay
• Enables hybrid
applications that run in
both an Azure
datacenter and your
own on-premises
enterprise environment
23. Call internal service via Service Bus relay
• Create a service bus relay
• Add a service bus relay endpoint to the internal
service
• Update the WCF service to use the Service Bus
relay endpoint for the internal service
• Verify the Service Bus relay integration
25. Summary
• Our scenario
• Microsoft Azure Overview
• Microsoft Azure SQL Database
• Microsoft Azure Web Sites
• Microsoft Azure Service Bus
26. Resources
• Microsoft Azure Free Trial
azure.microsoft.com/en-us/pricing/free-trial
• Microsoft Virtual Academy:
www.microsoftvirtualacademy.com
• Microsoft Azure SQL Database:
azure.microsoft.com/en-us/documentation/services/sql-database
• Microsoft Azure Web Sites:
azure.microsoft.com/en-us/documentation/services/web-sites
• Microsoft Azure Service Bus:
azure.microsoft.com/en-us/documentation/services/service-bus