O'Reilly logo

SignalR - Real-time Application Development - Second Edition by Einar Ingebrigtsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. State

At one level, applications need to keep data that puts the application in a certain state. Traditionally, this data is kept either in memory on the server or on the client and gets passed around between the client and the server, and often front and center in the calls as parameters. This chapter will cover how you can have a state in the client that is available automatically on the server. This type of state is then included in every round-trip taken between the client and the server as the result of a method invocation.

In this chapter, the following topics will be covered:

  • Setting a state on the client that will be round-tripped
  • Setting a state on the server that will be round-tripped

At this stage, the developer should be able ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required