万本电子书0元读

万本电子书0元读

顶部广告

Building Web Services with Microsoft Azure电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Alex Belotserkovskiy

出  版  社:Packt Publishing

出版时间:2015-05-27

字       数:295.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部