SignalR Real-time Application Cookbook

Roberto Vespa

  • 出版商: Packt Publishing
  • 出版日期: 2014-04-25
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 292
  • 裝訂: Paperback
  • ISBN: 1783285958
  • ISBN-13: 9781783285952
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Use SignalR to create real-time, bidirectional, and asynchronous applications based on standard web technologies

Overview

  • Build high performance real-time web applications.
  • Broadcast messages from the server to many clients simultaneously.
  • Implement complex and reactive architectures.

In Detail

SignalR is a recent addition to ASP.NET which allows you to add real-time functionalities to your applications. SignalR enables bi-directional communication between client and server over HTTP, transparently using a variety of systems to ensure you're always provided with the experience of a persistent connection. This way SignalR enables servers to push information down to the connected clients through a very simple and streamlined API.

SignalR is based on standard web technologies but its usage is not limited to ASP.NET web applications: in fact, it comes with client libraries to perform connections from either JavaScript or different types of .NET applications. SignalR is a great tool which enables you to build modern, interactive and efficient applications based on web technologies.

SignalR Real-time Application Cookbook is a practical, hands-on guide that provides a number of clear step-by-step recipes that will gradually enable you to add SignalR as an innovative, effective and useful item in your toolbox. This book will move from simple examples down to complex use cases, going through a comprehensive overview of the library. This book clarifies how SignalR works and how it’s structured, exposing the main concepts by taking you down a path from simple to advanced recipes. Along the way you will learn how to perform a set of common tasks, and at the end of the book you will find a set of ready-made solutions for more complex scenarios.

With this book, you will learn how to create bi-directional connections using the available APIs. You will also learn the differences between them and how to choose the most appropriate API for your requirements. You will also learn how to perform authorization, how to deal with cross-domain scenarios, how to scale up and scale out your applications, and how to hook into the library to extend its behavior.

SignalR Real-time Application Cookbook will teach you everything you need to know to become easily and quickly productive in all the main scenarios covered by this useful library.

商品描述(中文翻譯)

使用 SignalR 創建基於標準網路技術的即時、雙向和非同步應用程式

概述
- 建立高效能的即時網路應用程式。
- 從伺服器同時廣播訊息到多個客戶端。
- 實現複雜且具反應性的架構。

詳細內容
SignalR 是 ASP.NET 的一個新功能,允許您為應用程式添加即時功能。SignalR 使客戶端和伺服器之間能夠透過 HTTP 進行雙向通信,並透明地使用多種系統來確保您始終獲得持久連接的體驗。這樣,SignalR 使伺服器能夠通過非常簡單且精簡的 API 將資訊推送到已連接的客戶端。

SignalR 基於標準網路技術,但其使用並不僅限於 ASP.NET 網路應用程式:事實上,它提供了客戶端庫,以便從 JavaScript 或不同類型的 .NET 應用程式進行連接。SignalR 是一個出色的工具,使您能夠基於網路技術構建現代、互動且高效的應用程式。

SignalR 即時應用程式食譜是一本實用的手冊,提供了一系列清晰的逐步食譜,將逐漸使您能夠將 SignalR 添加為您工具箱中的創新、有效且有用的項目。本書將從簡單的範例開始,深入到複雜的使用案例,全面概述該庫。本書闡明了 SignalR 的工作原理及其結構,通過從簡單到進階的食譜引導您了解主要概念。在此過程中,您將學習如何執行一系列常見任務,並在書末找到一組針對更複雜場景的現成解決方案。

通過本書,您將學習如何使用可用的 API 創建雙向連接。您還將了解它們之間的差異,以及如何選擇最適合您需求的 API。您還將學習如何執行授權、如何處理跨域場景、如何擴展應用程式的規模,以及如何連接到庫中以擴展其行為。

SignalR 即時應用程式食譜將教您所有需要知道的知識,使您能夠在這個有用的庫所涵蓋的所有主要場景中輕鬆且快速地提高生產力。