05470nam 2200661 450 991082247040332120200520144314.01-78328-596-6(CKB)2550000001280427(EBL)1582946(SSID)ssj0001217203(PQKBManifestationID)11788472(PQKBTitleCode)TC0001217203(PQKBWorkID)11202069(PQKB)11209944(Au-PeEL)EBL1582946(CaPaEBR)ebr10865427(CaONFJC)MIL601705(OCoLC)878920273(CaSebORM)9781783285952(MiAaPQ)EBC1582946(PPN)228012740(EXLCZ)99255000000128042720140508h20142014 uy 0engur|n|---|||||txtccrSignalR real-time application cookbook use signalR to create real-time, bidirectional, and asynchronous applications based on standard web technologies /Roberto Vespa ; cover image by Aniket Sawant1st editionBirmingham, England :Packt Publishing,2014.©20141 online resource (292 p.)Quick answers to common problems"Quick answers to common problems"--Cover.Includes index.1-78328-595-8 1-306-70454-5 Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding the Basics; Introduction; Adding a Hub to an ASP.NET project; Adding a Hub to a self-hosting application; Connecting to a Hub from a JavaScript client; Connecting to a Hub from a .NET application; Chapter 2: Using Hubs; Introduction; Adding a method to a Hub and counting the calls to it; Calling back the caller from a Hub's method; Broadcasting to all connected clients; Adding a connection to a group; Removing a connection from a groupBroadcasting to all connected clients except the callerBroadcasting to all clients except the specified ones; Broadcasting to all clients in a group except the caller; Broadcasting from outside a Hub; Using the return value of a Hub method; Chapter 3: Using the JavaScript Hubs Client API; Introduction; Starting a Hub connection; Setting up connection transport strategies; Calling a server-side Hub method; Adding a client-side method on the proxy and calling it from the server; Managing errors across a complex asynchronous workflow; Chapter 4: Using the .NET Hubs Client API; IntroductionStarting a Hub connectionSetting up connection transport strategies; Calling a server-side Hub method; Adding a client-side method on the proxy and calling it from the server; Managing errors across a complex asynchronous workflow; Chapter 5: Using a Persistent Connection; Introduction; Adding and registering a Persistent Connection; Sending messages from the server; Sending messages to the server; Exchanging messages between a server and a JavaScript client; Exchanging messages between a server and a .NET client; Chapter 6: Handling Connections; IntroductionControlling the lifetime of a connectionHandling a connection transient state; Establishing a cross-domain connection; Chapter 7: Analyzing Advanced Scenarios; Introduction; Generating static files for JavaScript proxies; Authorizing requests on a Hub; Authorizing requests on a Persistent Connection; Authorizing requests in a self-hosting context; Scaling up; Scaling out with Azure; Scaling out with Redis; Scaling out with SQL Server; Establishing proxy-less connections; Introducing dependency injection (simple approach); Introducing dependency injection (advanced approach)Using dependency injection to replace a default behaviorExtending the Hub pipeline; Handling errors; Chapter 8: Building Complex Applications; Introduction; Implementing a room-based chat application; Implementing a shared whiteboard; Implementing a real-time map of flying airplanes; Implementing a ""pets finder"" application; Implementing a custom backplane; Implementing a real-time error notification system; Appendix A: Creating Web Projects; Introduction; Creating an empty ASP.NET web application; Creating an ASP.NET web forms application; Creating an ASP.NET MVC applicationCreating an MVC controller and a related viewThis 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 wilReal-time data processingReal-time data processing.004.33Vespa Roberto1673949Sawant AniketMiAaPQMiAaPQMiAaPQBOOK9910822470403321SignalR real-time application cookbook4038436UNINA