Details zum E-Book

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

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

Roberto Vespa

Wird geladen...
E-BOOK
Wird geladen...
This book contains illustrated code examples to help you create real-time, asynchronous, and bi-directional client-server applications. Each recipe will concentrate on one specific aspect of application development with SignalR showing you how that aspect can be used proficiently. Different levels of developers will find this book useful. Beginners will be able to learn all the fundamental concepts of SignalR, quickly becoming productive in a difficult arena. Experienced programmers will find in this book a handy and useful collection of ready-made solutions to common use cases, which they will be able to enhance as needed. Developers can also use the book as a quick reference to the most important SignalR features. No previous practical experience either with SignalR or with real-time communication in general is required.
  • SignalR Real-time Application Cookbook
    • Table of Contents
    • SignalR Real-time Application Cookbook
    • Credits
    • About the Author
    • Acknowledgments
    • 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
    • 1. Understanding the Basics
      • Introduction
      • Adding a Hub to an ASP.NET project
        • Getting ready
        • How to do it
        • How it works
        • Theres more
      • Adding a Hub to a self-hosting application
        • Getting ready
        • How to do it
      • Connecting to a Hub from a JavaScript client
        • Getting ready
        • How to do it
        • How it works
      • Connecting to a Hub from a .NET application
        • Getting ready
        • How to do it
        • How it works
    • 2. Using Hubs
      • Introduction
      • Adding a method to a Hub and counting the calls to it
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Calling back the caller from a Hub's method
        • Getting ready
        • How to do it
        • How it works
      • Broadcasting to all connected clients
        • Getting ready
        • How to do it
        • How it works
      • Adding a connection to a group
        • Getting ready
        • How to do it
        • How it works
      • Removing a connection from a group
        • Getting ready
        • How to do it
      • Broadcasting to all connected clients except the caller
        • Getting ready
        • How to do it
      • Broadcasting to all clients except the specified ones
        • Getting ready
        • How to do it
      • Broadcasting to all clients in a group except the caller
        • Getting ready
        • How to do it
      • Broadcasting from outside a Hub
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Using the return value of a Hub method
        • Getting ready
        • How to do it
        • There's more
    • 3. Using the JavaScript Hubs Client API
      • Introduction
      • Starting a Hub connection
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Setting up connection transport strategies
        • Getting ready
        • How to do it
      • Calling a server-side Hub method
        • How to do it
      • Adding a client-side method on the proxy and calling it from the server
        • How to do it
      • Managing errors across a complex asynchronous workflow
        • How to do it
        • How it works
        • There's more
    • 4. Using the .NET Hubs Client API
      • Introduction
      • Starting a Hub connection
        • Getting ready
        • How to do it
        • How it works
      • Setting up connection transport strategies
        • Getting ready
        • How to do it
      • Calling a server-side Hub method
        • Getting ready
        • How to do it
        • How it works
      • Adding a client-side method on the proxy and calling it from the server
        • Getting ready
        • How to do it
        • How it works
      • Managing errors across a complex asynchronous workflow
        • Getting ready
        • How to do it
        • How it works
    • 5. Using a Persistent Connection
      • Introduction
      • Adding and registering a persistent connection
        • Getting ready
        • How to do it
        • How it works
      • Sending messages from the server
        • Getting ready
        • How to do it
        • How it works
      • Sending messages to the server
        • Getting ready
        • How to do it
        • How it works
      • Exchanging messages between a server and a JavaScript client
        • Getting ready
        • How to do it
        • How it works
      • Exchanging messages between a server and a .NET client
        • Getting ready
        • How to do it
        • How it works
    • 6. Handling Connections
      • Introduction
      • Controlling the lifetime of a connection
        • Getting ready
        • How to do it
        • How it works
      • Handling a connection transient state
        • Getting ready
        • How to do it
      • Establishing a cross-domain connection
        • Getting ready
        • How to do it
        • There's more
    • 7. Analyzing Advanced Scenarios
      • Introduction
      • Generating static files for JavaScript proxies
        • Getting ready
        • How to do it
      • Authorizing requests on a Hub
        • Getting ready
        • How to do it
        • There's more
      • Authorizing requests on a persistent connection
        • Getting ready
        • How to do it
      • Authorizing requests in a self-hosting context
        • Getting ready
        • How to do it...
      • Scaling up
        • How to do it...
        • There's more
      • Scaling out with Azure
        • Getting started
        • How to do it...
        • How it works...
      • Scaling out with Redis
        • Getting started
        • How to do it...
      • Scaling out with SQL Server
        • Getting started
        • How to do it...
      • Establishing proxy-less connections
        • Getting ready
        • How to do it
        • How it works
      • Introducing dependency injection (simple approach)
        • Getting ready
        • How to do it
        • How it works
      • Introducing dependency injection (advanced approach)
        • Getting ready
        • How to do it
      • Using dependency injection to replace a default behavior
        • Getting ready
        • How to do it
        • How it works
      • Extending the Hub pipeline
        • Getting ready
        • How to do it
        • There's more
      • Handling errors
        • Getting ready
        • How to do it
    • 8. Building Complex Applications
      • Introduction
      • Implementing a room-based chat application
        • Getting ready
        • How to do it
        • There's more
      • Implementing a shared whiteboard
        • Getting ready
        • How to do it
      • Implementing a real-time map of flying airplanes
        • Getting ready
        • How to do it
      • Implementing a "pets finder" application
        • Getting ready
        • How to do it
      • Implementing a custom backplane
        • Getting ready
        • How to do it
        • There's more
      • Implementing a real-time error notification system
        • Getting ready
        • How to do it
        • There's more
    • A. Creating Web Projects
      • Introduction
      • Creating an empty ASP.NET web application
      • Creating an ASP.NET web forms application
      • Creating an ASP.NET MVC application
      • Creating an MVC controller and a related view
      • Creating an ASP.NET website
    • B. Insights
      • Transport strategies
      • Asynchronous programming and SignalR
    • Index
  • Titel:SignalR Real-time Application Cookbook. Use SignalR to create real-time, bidirectional, and asynchronous applications based on standard web technologies
  • Autor:Roberto Vespa
  • Originaler Titel:SignalR Real-time Application Cookbook. Use SignalR to create real-time, bidirectional, and asynchronous applications based on standard web technologies.
  • ISBN:9781783285969, 9781783285969
  • Veröffentlichungsdatum:2014-04-23
  • Format:E-Book - EPUB
  • Artikel-ID: e_3can
  • Verleger: Packt Publishing
Wird geladen...
Wird geladen...