ASPNET_MTWAA_Using_Storage_Tables_Queues_and_Blobs.pdf
(
4295 KB
)
Pobierz
ASP.NET Multi-Tier Windows Azure
Application Using Storage Tables,
Queues, and Blobs
Rick Anderson Tom Dykstra
Summary
:
This tutorial series shows how to create a multi-tier ASP.NET MVC 4 web application that uses
Windows Azure Storage tables, queues, and blobs, and how to deploy the application to a Windows
Azure Cloud Service. The tutorials assume that you have no prior experience using Windows Azure.
On completing the series, you'll know how to build a resilient and scalable data-driven web
application and deploy it to the cloud.
Category:
Step-by-Step
Applies to
: Windows Azure, ASP.NET MVC, Windows Azure Storage Queues, Windows
Azure Storage Tables, Windows Azure Storage Blobs
Source
: WindowsAzure.com
(
.NET Multi-Tier Application Using Storage Tables, Queues,
and Blobs
)
E-book publication date
: February 2013
Copyright © 2013 by Microsoft Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means
without the written permission of the publisher.
Microsoft and the trademarks listed at
http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspx
are trademarks of the
Microsoft group of companies. All other marks are property of their respective owners.
The example companies, organizations, products, domain names, email addresses, logos, people, places, and events
depicted herein are fictitious. No association with any real company, organization, product, domain name, email address,
logo, person, place, or event is intended or should be inferred.
7KLVERRNH[SUHVVHVWKHDXWKRU·VYLHZVDQGRSLQLRQV7KHLQIRUPDWLRQFRQWDLQHGLQWKLVERRNLVSURYLGHGZLWKRXWDQ\
express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors
will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book.
ASP.NET Multi-Tier Windows Azure
Application Using Storage Tables,
Queues, and Blobs
Contents
Introduction - 1 of 5 ...................................................................................................................................... 5
What You'll Learn
.................................................................................................................................... 5
Front-end overview
................................................................................................................................ 5
Tutorials in the Series
........................................................................................................................... 11
Why an Email List Service Application
............................................................................................... 12
Resilient
.............................................................................................................................................. 12
Scalable
.............................................................................................................................................. 12
Back-end overview
............................................................................................................................... 12
Windows Azure Tables
......................................................................................................................... 15
mailinglist table
................................................................................................................................. 15
message table
................................................................................................................................... 19
messagearchive table
....................................................................................................................... 24
Windows Azure Queues
....................................................................................................................... 24
AzureMailQueue
............................................................................................................................... 24
AzureMailSubscribeQueue
.............................................................................................................. 25
Windows Azure Email Service data diagram
..................................................................................... 25
Windows Azure Blobs
.......................................................................................................................... 27
Windows Azure Cloud Service versus Windows Azure Web Site
................................................... 27
Cost
......................................................................................................................................................... 30
Authentication and Authorization
...................................................................................................... 32
Next steps
.............................................................................................................................................. 33
Configuring and Deploying the Windows Azure Email Service application - 2 of 5.................................... 34
Set up the development environment
............................................................................................... 34
Set up a free Windows Azure account
............................................................................................... 35
Create a Windows Azure Storage account
........................................................................................ 36
Install Azure Storage Explorer
............................................................................................................. 41
Create a Cloud Service
......................................................................................................................... 43
Download and run the completed solution
...................................................................................... 45
Viewing developer storage in Visual Studio
..................................................................................... 52
Configure the application to use your Windows Azure Storage account
..................................... 54
The manual method for configuring storage account credentials
............................................ 57
Test the application configured to use your storage account
.................................................... 61
Use Azure Storage Explorer to view data entered into your storage account
......................... 61
Use Server Explorer to view data entered into your storage account
....................................... 62
Optional steps to disable Azure Storage Emulator automatic startup
...................................... 63
Configure the application to use SendGrid
....................................................................................... 64
Create a SendGrid account
.............................................................................................................. 65
Update SendGrid credentials in worker role properties
.............................................................. 65
Deploy the Application to Windows Azure
....................................................................................... 66
Implement IP restrictions
................................................................................................................. 66
Configure the application to use your storage account when it runs in the cloud
................. 66
Publish the application
.................................................................................................................... 67
Promote the Application from Staging to Production
.................................................................... 73
Configure and View Tracing Data
....................................................................................................... 75
Add another worker role instance to handle increased load
.......................................................... 77
Next steps
.............................................................................................................................................. 80
Building the web role for the Windows Azure Email Service application - 3 of 5 ...................................... 82
Create the Visual Studio solution
....................................................................................................... 82
Create a cloud service project with a web role and a worker role
............................................. 82
Set the page header, menu, and footer
......................................................................................... 86
Run the application locally
.............................................................................................................. 88
Configure Tracing
................................................................................................................................. 89
Plik z chomika:
ferdekiepski
Inne pliki z tego folderu:
656949ebook.pdf
(21575 KB)
Configure Kerberos Authentication for SharePoint 2010 Products.pdf
(22619 KB)
693616ebook.pdf
(2572 KB)
AGM_BitLocker_Administration_and_Monitoring_1.0.pdf
(1593 KB)
AGM_Application_Virtualization_(App-V)_5.0.pdf
(1605 KB)
Inne foldery tego chomika:
Zgłoś jeśli
naruszono regulamin