![]()
Table of Contents
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Microsoft Azure
An overview of cloud computing
Microsoft Azure overview
Selecting a Microsoft Azure solution
Infrastructure capabilities
Platform capabilities
Cost
Decision flow diagrams
Administration of Microsoft Azure systems
Choosing a subscription
Creating a Microsoft Azure account
Adding a subscription
Exploring the portal
The top toolbar
The side toolbar
The bottom toolbar
Examining Microsoft Azure Services
Compute services
Websites
Virtual machines
Mobile services
Cloud services
Data services
SQL Server Database
Storages
HDInsight
Cache
Recovery services
App services
Media services
Service Bus
Visual Studio Online
BizTalk Services
Scheduler
Active Directory (AD)
Network services
Virtual Network
Traffic Manager
Summary
Questions
Answers
2. Designing a System for Microsoft Azure
Designing scalable and resilient systems
Systems architecture
A case study of a small business system
System requirements
Identifying subsystems
Customer website design
Administration system design
System integration
Identifying critical systems
Selecting services
Conclusion of the small business case study
A case study of an enterprise system – Azure Bakery
System requirements
Sales requirements
Production requirements
Supply requirements
Identifying subsystems
Sales subsystems
Production subsystems
Supply subsystems
System design
System design – the sales customer phone app
System design – sales order processor
Sales system integration
Identifying critical services
Selecting Microsoft Azure Services
Selecting common services
Messaging services
Authentication
Selecting sales services
Selecting production services
Selecting supply services
Conclusion of an enterprise system case study – Azure Bakery
Designing platform environments
Common environment roles
Example environment sets
Using website deployment slots
Using cloud service staging environments
Summary
Questions
Answers
3. Starting to Develop with Microsoft Azure
Preparing our development environment
Setting up software
Mobile development
The Microsoft Azure SDK
Checking for Visual Studio updates
Creating a website
Configuring a website in the portal
Creating a Visual Studio Online project
Creating a Visual Studio Online account
Creating a Visual Studio Online project
Setting up continuous deployment
Adding a solution to source control
Configuring continuous deployment
Examining the build definition
Setting up alerts
Summary
Questions
Answers
4. Creating and Managing a Windows Azure SQL Server Database
Creating a database using the Azure management portal
Building a database using Entity Framework (EF) Code First Migrations
Creating the data model
Configuring a database context
Linking an authenticated user to the model
Configuring the connection string
Enabling migrations and updating the database
Publishing with migrations
Managing SQL Azure Servers and databases
Managing a database through the portal
Features of the management portal
Managing a database using SSMS
Managing a database through Visual Studio
Using the table designer
Using Azure PowerShell
Choosing a management tool
Backing up and restoring databases
Automated exports
Summary
Questions
Answers
5. Building Azure MVC Websites
Implementing OAuth authentication
Creating a Twitter application
Modifying the external login
Testing the Twitter login
Completing the customer sales website
Modifying the user account panel
Temporary PayConfirm action
Final activities
Adding a custom domain name to a website
Implementing an SSL certificate
Creating CER files
Using OpenSSL to create a PFX certificate
Uploading the certificate
Redirecting all HTTP traffic to HTTPS
Adding Azure AD single sign-on to a website
Configuring AD
Configuring an MVC website for AD single sign-on
Publishing the website with AD single sign-on
Implementing Azure AD group authorization
Creating an AD group
Modifying the application service principal
Implementing AzureAdAuthorizeAttribute
Completing the admin sales website
Summary
Questions
Answers
6. Azure Website Diagnostics and Debugging
Enabling diagnostics
Working with logfiles
Viewing logfiles in Visual Studio
Streaming logs
Filtering stream logs
Downloading logs
Accessing files using FTP
Application logging
Implementing tracing in the application
Application logging to table storage
Querying table data
Application logging to blob storage
Diagnosing a real bug
Setting up the website
Producing an error
Site diagnostics
Extra filesystem settings
Site diagnostics using blob storage
Kudu
Remote debugging
When to use remote debugging
Summary
Questions
Answers
7. Azure Service Bus Topic Integration
Introducing Azure Service Bus and topics
Dead-letter queues
Creating a...