Pro ASP.NET Web API: HTTP Web Services in ASP.NET (Paperback)

Ali Uurlu, Alexander Zeitler, Ali Kheyrollahi

  • 出版商: Apress
  • 出版日期: 2013-09-24
  • 定價: $2,475
  • 售價: 8.0$1,980
  • 語言: 英文
  • 頁數: 616
  • 裝訂: Paperback
  • ISBN: 1430247258
  • ISBN-13: 9781430247258
  • 相關分類: .NETASP.NETHTTP
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

content<p> <em>Pro ASP.NET Web API</em> shows you how to build flexible, extensible web services that run seamlessly on a range of operating systems and devices, from desktops to tablets to smart phones—even the ones we don’t know today. <br /> <br /> ASP.NET Web API is a new framework designed to simplify web service architecture. So if you're tired of interoperability issues between inflexible web services and clients tied to specific platforms or programming languages, or if you've ever struggled with WCF, this book is for you. <br /> <br /> To start with, you'll get up to speed on Web API's modern HTTP programming model, REST and your hosting options. You'll then dive into building a real application over a series of three chapters, so you can get an immediate feel for how this technology works in practice. The second half of the book features dedicated chapters on topics like routing, controllers, validation and tracing, and the authors close with discussions on performance, hosting and an all-important look at unit testing to help you prepare your application for the real world. <br /> <br /> ASP.NET Web API makes HTTP a first-class citizen of .NET. With <em>Pro ASP.NET Web API</em>, you can build HTTP-based web services for your company or business, expose your data to the world across different formats and devices and gain the best possible global reach for your application. </p> <h3>What you’ll learn</h3><ul> <li>The basics of HTTP web services </li> <li>How to build HTTP-based web services on the .NET platform </li> <li>In-depth knowledge of ASP.NET Web API and its processing architecture </li> <li>How to Unit Test an ASP.NET Web API application </li> <li>Asynchronous programming with ASP.NET Web API </li> <li>Consuming HTTP-based web services across several different clients </li> </ul> <h3>Who this book is for</h3> <p> Whether you’ve previously worked with WCF or are an ASP.NET developer diving into web services for the first time, <em>Pro ASP.NET Web API</em> will show you a clean, modern approach to building HTTP web services. </p> <h3>Table of Contents</h3><ol> <li>Introduction to ASP.NET Web API</li> <li>Introduction to Asynchronous Programming in .NET</li> <li>HTTP, REST, and Hypermedia</li> <li>HttpClient</li> <li>Sample Application: Application Structure and Domain Model</li> <li>Sample Application: Building the Web API</li> <li>Sample Application: Building the Wrapper and Web Client</li> <li>Routing</li> <li>Controllers and Actions</li> <li>Message Handlers</li> <li>Filters</li> <li>Media Type Formatters and Model Binding</li> <li>Input Validation</li> <li>Dependency Resolution</li> <li>Unit Testing and Integration Testing</li> <li>Optimization and Performance</li> <li>Hosting</li> <li>Tracing, Logging, and API Documentation </li> </ol>sourceProduct Description

商品描述(中文翻譯)

《Pro ASP.NET Web API》向您展示如何構建靈活、可擴展的網絡服務,這些服務可以在各種操作系統和設備上無縫運行,從桌面電腦到平板電腦再到智能手機,甚至是我們今天還不知道的設備。ASP.NET Web API是一個旨在簡化網絡服務架構的新框架。因此,如果您對於不靈活的網絡服務和與特定平台或編程語言綁定的客戶端之間的互操作性問題感到厭倦,或者如果您曾經在使用WCF時遇到困難,那麼這本書就是為您而寫的。

首先,您將了解Web API的現代HTTP編程模型、REST和托管選項。然後,您將通過三個章節來構建一個真實的應用程序,以便您可以立即感受到這項技術在實踐中的運作方式。本書的後半部分專門介紹了路由、控制器、驗證和追踪等主題,並以性能、托管和重要的單元測試討論結束,以幫助您為應用程序做好實際應對的準備。

ASP.NET Web API使HTTP成為.NET的一等公民。通過《Pro ASP.NET Web API》,您可以為您的公司或業務構建基於HTTP的網絡服務,將您的數據以不同的格式和設備向世界公開,並為您的應用程序獲得最佳的全球覆蓋範圍。

您將學到什麼:
- HTTP網絡服務的基礎知識
- 如何在.NET平台上構建基於HTTP的網絡服務
- 深入了解ASP.NET Web API及其處理架構
- 如何對ASP.NET Web API應用程序進行單元測試
- 使用ASP.NET Web API進行異步編程
- 如何在多個不同的客戶端上消費基於HTTP的網絡服務

本書適合對WCF有過經驗或首次涉足網絡服務的ASP.NET開發人員,將向您展示一種乾淨、現代的構建HTTP網絡服務的方法。

目錄:
1. ASP.NET Web API簡介
2. .NET中的異步編程簡介
3. HTTP、REST和超媒體
4. HttpClient
5. 樣本應用程序:應用程序結構和領域模型
6. 樣本應用程序:構建Web API
7. 樣本應用程序:構建封裝器和Web客戶端
8. 路由
9. 控制器和操作
10. 消息處理程序
11. 過濾器
12. 媒體類型格式化程序和模型綁定
13. 輸入驗證
14. 依賴解析
15. 單元測試和集成測試
16. 優化和性能
17. 托管
18. 追踪、日誌記錄和API文檔