ASP.NET Web API: Build RESTful web applications and services on the .NET framework

Joydip Kanjilal

  • 出版商: Packt Publishing
  • 出版日期: 2013-12-20
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 1849689741
  • ISBN-13: 9781849689748
  • 相關分類: .NETASP.NET
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

An opportunity for ASP.NET web developers to advance their knowledge with a practical course, designed from the ground up, to help you investigate REST-based services with C# 5. An essential, real-world tutorial.

  • Clear and concise guide to the ASP.NET Web API with plentiful code examples
  • Learn about the advanced concepts of the WCF-windows communication foundation
  • Explore ways to consume Web API services using ASP.NET, ASP.NET MVC, WPF, and Silverlight clients

In Detail

The ASP.NET Web API was designed from the ground up to meet the need of developers who want to build HTTP/RESTful services. ASP.NET Web API is an HTTP service that uses HTTP as the application protocol and can return data based on the data format requested by the client. It is a lightweight web-based architecture that provides an easy-to-use set of default options while providing a deep extensibility infrastructure to meet the demands of any scenario using HTTP.

This book is a step-by-step, practical tutorial with a simple approach to help you build RESTful web applications and Web API services based on the .NET framework quickly and efficiently. This book provides complete coverage of RESTful services and the ASP.NET Web API in a lucid language with plenty of hands-on code examples.

The book starts with a description of REST-based architecture and WCF. It then explores the new features in ASP.NET 4.5 and introduces you to the new concepts in the ASP.NET Web API. There are also plentiful code examples throughout these sections to help you learn effectively.

You will then learn how to work with WCF REST-based services and the ASP.NET Web API and how to consume those services using various clients such as ASP.NET, ASP.NET MVC, WPF, and Silverlight.

In the second half of this book, we discuss the more advanced concepts of the ASP.NET Web API, best practices, and asynchronous programming concepts and how it can be implemented in C# 5.The most important thing you will take home from reading this book is a working knowledge on RESTful services, their architecture, how to build them, and also how to consume them with plenty of tips and techniques to better utilize this technology.

What you will learn from this book

  • Build scalable REST-based services using the .NET framework
  • Build HTTP-based web services on the .NET platform
  • Explore the new features in Entity Framework 5 and how to work with them
  • Use the ASP.NET Web API with ASP.NET MVC 4 clients
  • Learn about the ADO.NET Entity Framework and write programs against the Entity Data Model using LINQ to perform CRUD operations
  • Implement Web API services using ASP.NET, ASP.NET MVC, WPF, and Silverlight clients

Approach

This book is a step-by-step, practical tutorial with a simple approach to help you build RESTful web applications and services on the .NET framework quickly and efficiently.

Who this book is written for

This book is for ASP.NET web developers who want to explore REST-based services with C# 5. This book contains many real-world code examples with explanations whenever necessary. Some experience with C# and ASP.NET 4 is expected.

商品描述(中文翻譯)

一個讓 ASP.NET 網頁開發者提升知識的機會,這是一門從基礎開始設計的實用課程,幫助您使用 C# 5 探索基於 REST 的服務。這是一個必備的、真實世界的教程。

- 清晰且簡明的 ASP.NET Web API 指南,附有豐富的程式碼範例
- 學習 WCF(Windows Communication Foundation)的進階概念
- 探索使用 ASP.NET、ASP.NET MVC、WPF 和 Silverlight 客戶端來消費 Web API 服務的方法

詳細內容

ASP.NET Web API 是從零開始設計的,旨在滿足希望構建 HTTP/RESTful 服務的開發者需求。ASP.NET Web API 是一種 HTTP 服務,使用 HTTP 作為應用協議,並根據客戶端請求的數據格式返回數據。它是一種輕量級的基於網頁的架構,提供一組易於使用的預設選項,同時提供深度擴展的基礎架構,以滿足任何使用 HTTP 的場景需求。

本書是一個逐步的實用教程,採用簡單的方法幫助您快速有效地構建基於 .NET 框架的 RESTful 網頁應用程式和 Web API 服務。本書全面涵蓋了 RESTful 服務和 ASP.NET Web API,使用清晰的語言並提供大量的實作程式碼範例。

本書首先描述了基於 REST 的架構和 WCF。接著探討 ASP.NET 4.5 的新特性,並介紹 ASP.NET Web API 中的新概念。在這些部分中還有豐富的程式碼範例,幫助您有效學習。

然後,您將學習如何使用 WCF REST 基於服務和 ASP.NET Web API,並如何使用各種客戶端(如 ASP.NET、ASP.NET MVC、WPF 和 Silverlight)來消費這些服務。

在本書的後半部分,我們討論 ASP.NET Web API 的更進階概念、最佳實踐以及非同步編程概念,以及如何在 C# 5 中實現。您從本書中最重要的收穫是對 RESTful 服務及其架構的工作知識,如何構建它們,以及如何消費它們,並提供許多提示和技巧以更好地利用這項技術。

您將從本書學到的內容

- 使用 .NET 框架構建可擴展的 REST 基於服務
- 在 .NET 平台上構建基於 HTTP 的網頁服務
- 探索 Entity Framework 5 的新特性及其使用方法
- 使用 ASP.NET MVC 4 客戶端與 ASP.NET Web API
- 了解 ADO.NET Entity Framework,並使用 LINQ 對實體數據模型編寫程式以執行 CRUD 操作
- 使用 ASP.NET、ASP.NET MVC、WPF 和 Silverlight 客戶端實現 Web API 服務

方法

本書是一個逐步的實用教程,採用簡單的方法幫助您快速有效地在 .NET 框架上構建 RESTful 網頁應用程式和服務。

本書的讀者對象

本書適合希望使用 C# 5 探索基於 REST 的服務的 ASP.NET 網頁開發者。本書包含許多真實世界的程式碼範例,並在必要時提供解釋。預期讀者對 C# 和 ASP.NET 4 有一定的經驗。