Possible to combine calls in WCF? -


i have 2 methods need call in wcf application client.

authenticate(username, password) getuser(username)

is possible combine these calls avoid many calls being sent back/forth?

there few ways handle type of thing. first, can use wcf sessions initiate group of commands need maintain context between calls:

http://msdn.microsoft.com/en-us/library/ms733136.aspx

secondly, can take advantage of wcf's support ws-security standards avoid need pass credentials second call:

http://msdn.microsoft.com/en-us/library/aa702565.aspx


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -