Summary


In this chapter, you have seen the different options that the WCF runtime provides for creating an instance of a service. A service instance can exist for the duration of a single operation or for the entire session, until the client application closes the connection. In many cases, a service instance is private to a client, but WCF also supports singleton service instances that can be shared by multiple instances of a client. You have also seen how you can selectively control which operations create a new session and which operations close a session.




Microsoft Windows Communication Foundation Step by Step
Microsoft Windows Communication Foundation Step by Step (Step By Step Developer Series)
ISBN: 0735623368
EAN: 2147483647
Year: 2007
Pages: 105
Authors: John Sharp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net