Building Web Services with Microsoft Azure
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

Condividi libro
  1. 322 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Building Web Services with Microsoft Azure

Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Building Web Services with Microsoft Azure è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Building Web Services with Microsoft Azure di Alex Belotserkovskiy, Stephen Kaufman, Nikhil Sachdeva in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatica e Elaborazione di dati su cloud. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

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

Indice dei contenuti