Building Web Services with Microsoft Azure
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

Buch teilen
  1. 322 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

About This Book

  • Explore the tools to rapidly build, deploy, and manage cloud solutions using Microsoft Azure
  • Learn how to utilize Entity Framework, SQL Azure database, and other storage mechanisms to build out the data tier of your solution
  • A step-by-step guide focused on delivering solutions to your cloud development lifecycle with the best practices for web services and APIs

Who This Book Is For

If you are a.NET developer who wants to develop end-to-end RESTful applications in the cloud, then this book is for you. A working knowledge of C# will help you get the most out of this book.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Building Web Services with Microsoft Azure als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Building Web Services with Microsoft Azure von Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatica & Elaborazione di dati su cloud. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Building Web Services with Microsoft Azure


Table of Contents

Building Web Services with Microsoft Azure
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
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
Introduction
Getting to know HTTP
An HTTP request/response
HTTP methods
HTTP status codes
Other HTTP goodies
Header field definitions
Content negotiation
HTTP 2.0
HTTP and .NET
The rise of REST
The REST style of services
Web API and Microsoft Azure
Summary
1. Getting Started with the ASP.NET Web API
The ASP.NET Web API framework
Background
Building blocks
Design principles behind the ASP.NET Web API
Application scenarios
Behind the scenes with the ASP.NET Web API
Anatomy of the API of ASP.NET Web API
DelegatingHandler
HttpRequestMessage
HttpResponseMessage
ApiController
Other important types
Message lifecycle
Host listener
Routing and dispatching
Controller processing
Creating our first ASP.NET Web API
Prerequisites
Creating the ASP.NET Web API project
Defininig an ASP.NET data model
Defining an ASP.NET Web API controller
Testing the Web API
Testing in a browser
Testing with HttpClient
Committing changes to Git
Deploying the ASP.NET Web API using Azure Websites
Deploying to Azure Websites
Continuous Deployment using Azure Websites
Summary
2. Extending the ASP.NET Web API
Attribute routing
Custom route discovery using IDirectRouteProvider
Content negotiation
Customizing content negotiation
Customizing media formatters
Securing the ASP.NET Web API
Authentication and Authorization filters
Creating an Azure AD directory
Enabling authentication for the Web API project
Configuring the Web API in Azure AD
Enabling Authorization for the controller
Testing our secure Web API
Creating the test client
Configuring the test client in Azure AD
Updating the test client
Hosting
Summary
3. API Management
Azure API Management
Managing a Web API
Creating an API Management service
Configuring the API Management service
Creating API operations
Adding an operation
Adding an authorization server
Configuring an API with an authorization server
Adding a product
Consuming the Web API
Summary
4. Developing a Web API for Mobile Apps
Azure Mobile Services
Features of Azure Mobile Services
Core services
The API of Azure Mobile Services
TableController
ApiServices
EntityData
Domain Manager
Creating a Web API using Mobile Services
Creating the project
Defining the data model
Record
Doctor
Creating the controller
Testing the mobile service
Testing in a browser
Testing using a Windows 8.1 application
Deploying to Azure Mobile Services
Leftovers
Summary
5. Connecting Applications with Microsoft Azure Service Bus
Azure Service Bus
What is Azure Service Bus?
Patterns
Publish/Subscribe
Messaging bridge
Dead Letter Channel and Invalid Message Channel
Content Based Router and Recipient List
Splitter and Aggregator
Resequencer
The BrokeredMessage object
How do you create elements of the Service Bus?
Creating a Service Bus Queue
Interacting with the Queue
Sending a message to the Queue
Receiving a message from the Queue
Receiving different message types from a Queue
Creating a Service Bus Topic
Creating a rule with Visual Studio's Server Explorer
Creating a rule with code
Interacting with the Topic
Sending a message to a Topic
Receiving a message from a Topic
Creating an event hub
Sending data to an event hub
Reading data from an event hub
Service Bus Security
Summary
6. Creating Hybrid Services
Service Bus Relay Service
Bindings
Creating Relay Service in Azure
Creating the WCF service
Creating the client
BizTalk Hybrid Connect
Hybrid Connect security
Summary
7. Data Services in the Cloud – an Overview of ADO.NET and Entity Framework
Key layers of distributed applications
The data layer
The business logic layer
The server layer
The user interface layer
Data and data access technologies
ADO.NET and ADO.NET Entity Framework
Creating a data source for a Web API application
Creating a Microsoft Azure SQL database
Using the Microsoft Azure SQL database management portal
Populating a Microsoft Azure SQL database table with test data
Adding a Microsoft Azure SQL database to the project
Creating an Entity Data Model
Testing the Web API with Entity Framework and Microsoft Azure SQL database
Testing an insert operation
Summary
8. Data Services in the Cloud – Microsoft Azure Storage
Microsoft Azure Storage
The Microsoft Azure Storage Blobs service
Security
The Microsoft Azure Storage Queues service
The Microsoft Azure Storage Tables service
Tables and entities
Using Microsoft Azure Storage in the Web API application
Creating storage accounts
Adding storage support to the Web API application
Viewing data from the table
Summary
9. Data Services in the Cloud – NoSQL in Microsoft Azure
Understanding NoSQL
An overview of Microsoft Azure NoSQL technologies
Microsoft DocumentDB
The Microsoft DocumentDB object model
DocumentDB in a Web API application
Creating the DocumentDB database account
Using DocumentDB in the Web API application
Testing the Web API with the DocumentDB database account
Microsoft Azure Marketplace
MongoLab MongoDB on Microsoft Azure
Creating a MongoLab MongoDB subscription
Summary
Index

Building Web Services with Microsoft Azure

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the info...

Inhaltsverzeichnis