Building Web Services with Microsoft Azure
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

Partager le livre
  1. 322 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Building Web Services with Microsoft Azure est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Building Web Services with Microsoft Azure par Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Elaborazione di dati su cloud. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784395698

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...

Table des matiĂšres