售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning Microsoft Azure
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 Service Bus topic
Connecting a website to the Service Bus topic
Preparing the website
Creating messaging logic
Sending a message from the controller
The messaging simulator
Setting up the project
Creating a data service
Creating a messaging service
Completing the simulator
Running the simulator
Exploring the topic workspace
The MONITOR tab
The CONFIGURE tab
The SUBSCRIPTIONS tab
Summary
Questions
Answers
8. Building Worker Roles
Introducing cloud services
Exploring worker roles
Creating a worker role
Examining the worker role
Examining the cloud service
Running locally
The compute emulator UI
The storage emulator UI
Publishing a worker role
Building the production order processor
Adding an entity model
Preparing the Service Bus topic
Adding an order processor task
Creating TopicProcessorBase
Implementing TopicProcessorBase
Using OrderTopicProcessor in the worker role
Creating a scheduled work activity
Creating a scheduled job and queue
Configuring a connection string
Adding batch processor tasks
Creating a storage queue processor base
Implementing StorageQueueProcessorBase
Completing the worker role
Testing the production order processor
Testing a single instance
Testing multiple instances
Deleting idle cloud services
Summary
Questions
Answers
9. Cloud Service Diagnostics, Debugging, and Configuration
Configuring diagnostics
Adding local diagnostics
Configuring Azure storage diagnostics
Remote debugging
Stopping the debugger
Examining how remote debugging works
Debugging with IntelliTrace
Remote desktop connection
Downloading a Remote Desktop Protocol (RDP) file
Establishing an RDP connection
Firewall issues
Detecting configuration changes in code
Start-up tasks
Creating a batch script
Adding the task
Environmental variables
Summary
Questions
Answers
10. Web API and Client Integration
Introducing a Web API
Introducing SignalR
Building a Web API service
Creating a Web API project
Creating API controllers
Creating a SignalR hub
Publishing a Web API
Modifying the Web API AD manifest
Adding a client application to AD
Building a client application
Preparing the WPF project
Creating an authentication base class
Creating a data service
Creating a SignalR service
Completing the application
Testing the application
Summary
Questions
Answers
11. Integrating a Mobile Application Using Mobile Services
Introducing Azure mobile services
Creating the customer Azure mobile service
Creating a mobile services project
Exploring the mobile service sample project
The sample table controller
The sample data entity
A sample scheduled job
Mobile service DbContext
WebApiConfig
Cleaning up the project
Integrating with the sales database
Configuring development app settings
Integrating authentication with the sales website
Adding a channel registration API controller
Adding an order controller
Publishing the mobile service
Creating a Windows Phone application
Adding data services
The DataServiceBase class
The DataService class
Setting up push notifications
Modifying the manifest
Adding a channel helper
Notifications debug
Completing the app
Updating the order processor
Updating the admin website
Creating the supply mobile service
Configuring a mobile service for Azure AD auth
Creating the barcode controller
Creating the order controller
Creating the supply Windows Store application
Configuring the Store app for AD authentication
Creating a DataServiceBase class
Summary
Questions
Answers
12. Preparing an Azure System for Production
Project configurations for multiple environments
Adding build configurations to a solution
Website configuration transforms
Application configuration transforms
Cloud configuration
Building website deployment packages
Manually publishing websites to the filesystem
Building web packages on a build server
Building cloud service deployment packages
Building cloud service deployment packages manually
Building cloud service deployment packages on a build server
Deploying web packages to Azure
Deploying cloud packages to Azure
Creating database scripts from Entity Framework Code First Migrations
The go-live checklist
Monitoring live services
The Microsoft Azure portal
The Service Management REST API
Management services alerts
Azure PowerShell
Azure daily service checks
Azure periodic service activities
Azure tool list
Summary
Questions
Answers
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜