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 to have a state on the client that is also on the server and that round-trips on every call in a transparent manner.