万本电子书0元读

万本电子书0元读

顶部广告

SignalR – Real-time Application Development - Second Edition电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Einar Ingebrigtsen

出  版  社:Packt Publishing

出版时间:2015-09-29

字       数:105.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A fast-paced guide to develop, test, and deliver real-time communication in your .Net applications using SignalR About This Book Build and test real-time apps in .Net using the new features of SignalR Explore the fundamentals and the new methods and functions in the latest version of SignalR along with developing a complete application from scratch A progressive, hands-on guide to gain an understanding of the SignalR framework Who This Book Is For If you are a .Net developer with good understanding of the .Net platform then this is an ideal book for you to learn how to build real-time apps using the SignalR framework. What You Will Learn Explore the basic knowledge and understanding of SignalR Get to know how to connect client to the server Connecting a client with a server and setting a hub Creating group connections together Understand how to have state in the client to have specific operations Securing SignalR connections How to scale SignalR across multiple servers Building a client for WPF Building a client using Xamarin targeting Windows, iPhone and Android Get to grips with monitoring the traffic in SignalR using Fiddler for Windows and Charles for OSX Setting up code to host SignalR using OWIN In Detail With technology trends, demands on software have changed with more and more skilled users. Over the past few years, with services such as Facebook, Twitter and push notifications on smartphones, users are now getting used to being up to date with everything that happens all the time. With SignalR, the applications stay connected and will generate notifications when something happens either from the system or by other users thus giving new opportunities to enter into this new, exciting world of real-time application development. This is a step-by-step guide that follows a practical approach helping you as a developer getting to get started with SignalR by learning its fundamentals. It will help you through building real-time applications using the new methods and functions in the SignalR framework. Starting from getting persistent connections with the server, you will learn the basics of connecting a client to the server and how the messaging works. This will be followed by setting up a hub on the server and consuming it from a JavaScript client. Next you will be taught how you can group connections together to send messages. We will then go on to know how you can have state in the client to handle specific operations like connecting or disconnecting. Then, moving on you will learn how to secure your SignalR connections using OWIN and scaling SignalR across multiple servers. Next you will learn building a client for WPF and building a client using Xamarin that targets Windows Phone, iPhone and Android. Lastly, you will learn how to monitor the traffic in SignalR using Fiddler, Charles and hosting SignalR using OWIN. Style and approach This is an example- oriented and comprehensive guide to learning the fundamentals of SignalR to build real-time applications. It will help you build real-time applications on the .Net platform in a step-by-step manner along with giving teaching techniques to deal with possible performance bottlenecks and other key topics.
目录展开

SignalR – Real-time Application Development Second Edition

Table of Contents

SignalR – Real-time Application Development Second Edition

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

The emperor's new clothes

The good old terminal

X Server

Remote desktop

Rich clients

The Web

Full duplex on the Web

Events

Comet

Hand-rolling it all

Why?

Now what?

Think different

Personal style

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. The Primer

Where are we coming from?

The terminal

Fast forwarding

Completing the circle

SignalR

Terminology

Messaging

Publish/subscribe

Decoupling

Patterns

Model View Controller

Model View ViewModel

Libraries and frameworks

jQuery

ASP.NET MVC 5

AngularJS

Twitter Bootstrap

Tools

Visual Studio 2013

NuGet

Summary

2. Persistent Connections

Persistent connections – what are they?

Where are we going?

Getting the project ready

Setting up the packages

The single page application

The "code-behind"

Getting started with the server-side

Connecting the dots

Making the UI light up

Summary

3. Hubs

Moving up a level

The client

Decoupling it all

The Dependency Inversion Principle

Proxies

Life cycle events

Separation

Summary

4. Groups

Getting specific with groups

Composing the UI

Summary

5. State

Becoming stateful

The client

Lifetime event handlers and more

Summary

6. Security

Locking things down

Putting the infrastructure in place

HTTP handler config

Authentication

Securing the hub

The great finale

Summary

7. Scaling Out

It's all about messages in SignalR

Scaling out with SQL Server

Scaling out with Redis

Scaling out with Azure

Creating our own backplane

Hooking it all up

Summary

8. Building a WPF .NET Client

Decoupling it all

Decoupling – the next level

Building for the desktop

Setting up the packages

Observables

Adding security

Adding support for cookies

Binding helper

Creating a client security service

Adding a login view

The hub proxy

Our chat rooms

The chat

The composition

Summary

9. Write Once, Deploy Many

Cross platform

Getting started

Code signing

Preparing for connections

Packages

MVVM

Messenger

DelegateCommand

Security

ChatHub

Login

ChatRooms

Chat

The result

Summary

10. Monitoring

Logging

Logging on the server side

Logging in the JavaScript client

Logging in the .NET client

Logging from the Xamarin client

Digging deeper into the communication

Looking under the cover with Fiddler

Performance counters

Under the cover, inside the browser

Summary

11. Hosting a Server Using Self-hosted OWIN

Self-hosting

Adding the needed packages

Adding the code needed for self-hosting

The client

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部