Pro ASP.NET SignalR: Real-Time Communication in .NET with SignalR 2.1

Keyvan Nayyeri, Darren White

  • 出版商: Apress
  • 出版日期: 2014-12-04
  • 售價: $2,380
  • 貴賓價: 9.5$2,261
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1430263199
  • ISBN-13: 9781430263197
  • 相關分類: .NETASP.NET
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

ASP.NET SignalR is the new solution to real-time communication between servers and clients in .NET. Use it to push new data to a web page or mobile device as soon as it becomes available, whether it’s a notification, live chat, up-to-the-minute financial data, or a range of other exciting applications. Innovations like Google live search and live Facebook and Twitter updates are pushing users’ expectations of the real-time web. With Pro ASP.NET SignalR, you can join this revolution and learn skills that will be valuable for years to come.

Pro ASP.NET SignalR starts with an introduction to the real-time web. Learn about the technologies underlying the SignalR library, such as WebSockets and long-polling, and how SignalR elegantly flips between them depending on the capabilities of the client. Next, meet the concepts of hubs and persistent connections and how to use them to build the components of an ASP.NET SignalR application. Find out how to extend, test, debug, configure, scale, and host your applications, and how to target a range of clients, including Windows and iOS.

The book rounds off with two case studies—a stock market price updater, and a collaborative drawing application—so you can get to grips with SignalR in a realistic scenario, using a broad range of the concepts covered in earlier chapters.

As real-time updates to web and mobile apps become the norm, Pro ASP.NET SignalR will be your in-depth, one-stop companion to this new and exciting technology.

What you’ll learn

  • The concept of hubs and hub proxies, and how to use them to build SignalR applications quickly and easily
  • The concept of persistent connections and how to use them to build more advanced SignalR applications
  • Debugging SignalR applications
  • Configuring and scaling SignalR applications
  • Hosting SignalR applications on Windows Azure
  • How to apply all these concepts to a real ASP.NET or Windows Store app

Who this book is for

This book will suit professional ASP.NET developers familiar with C#, IIS and JavaScript.

Table of Contents

Chapter 1: Introduction to the Real-Time Web and ASP.NET SignalR

Chapter 2: Overview of SignalR

Chapter 3: Developing SignalR Applications using Hubs

Chapter 4: Working with Persistent Connections

Chapter 5: Debugging and Testing

Chapter 6: SignalR Clients

Chapter 7: Extending SignalR

Chapter 8: Configuration and Security

Chapter 9: Building a Stock Market Price Updater

Chapter 10: Building a Collaborative Drawing Application

商品描述(中文翻譯)

ASP.NET SignalR 是在 .NET 中用於伺服器和客戶端之間的即時通訊的新解決方案。使用它可以在新數據可用時立即將數據推送到網頁或移動設備,無論是通知、即時聊天、最新的金融數據還是其他令人興奮的應用。像 Google 的即時搜索和 Facebook、Twitter 的即時更新等創新正在推動用戶對即時網絡的期望。通過《Pro ASP.NET SignalR》,您可以加入這場革命,學習將來多年都有價值的技能。

《Pro ASP.NET SignalR》首先介紹了即時網絡的概念。了解 SignalR 库的底層技術,如 WebSockets 和長輪詢,以及 SignalR 如何根據客戶端的能力優雅地在它們之間切換。接下來,介紹了 hubs 和持久連接的概念,以及如何使用它們來構建 ASP.NET SignalR 應用程序的組件。了解如何擴展、測試、調試、配置、擴展和托管應用程序,以及如何針對多種客戶端(包括 Windows 和 iOS)進行開發。

本書最後通過兩個案例研究——股票市場價格更新器和協作繪圖應用程序,讓您在實際情境中掌握 SignalR,使用前面章節中涵蓋的各種概念。

隨著對網絡和移動應用的即時更新成為常態,《Pro ASP.NET SignalR》將成為您深入了解這項新興技術的全面指南。

您將學到什麼:
- Hubs 和 hub proxies 的概念,以及如何使用它們快速輕鬆地構建 SignalR 應用程序
- 持久連接的概念,以及如何使用它們構建更高級的 SignalR 應用程序
- 調試 SignalR 應用程序
- 配置和擴展 SignalR 應用程序
- 在 Windows Azure 上托管 SignalR 應用程序
- 如何將所有這些概念應用於真實的 ASP.NET 或 Windows Store 應用程序

本書適合對 C#、IIS 和 JavaScript 有一定了解的專業 ASP.NET 開發人員。目錄如下:
- 第1章:介紹即時網絡和 ASP.NET SignalR
- 第2章:SignalR 概述
- 第3章:使用 Hubs 開發 SignalR 應用程序
- 第4章:使用持久連接
- 第5章:調試和測試
- 第6章:SignalR 客戶端
- 第7章:擴展 SignalR
- 第8章:配置和安全性
- 第9章:構建股票市場價格更新器
- 第10章:構建協作繪圖應用程序