![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Just a german hobbyist Rep Power: 6 ![]() | Question about instancing and threading Hi! I am starting programming using WCF, I've come up with a list of service interfaces and started to implement them. Actually the program work as I expect it, as far as I can test that, but I have questions. To start the services I only use code, and at the moment we talk about P2P channels so I don't use a ServiceHost to create instances. Instead I start the channels 'by hand' as singleton services using a Binding/InstanceContext/EndpointAddress/ServiceEndpoint/DuplexChannelFactory. However, I did not yet understood how the things work together, if I set f.e. [ServiceBehavior(InstanceContextMode=... on the class implementing the channel, will this be set, or do I have set it explicitly? I want the services for p2p to be multithreaded singletons. If I have, I'd better remove the attributes yea? I tried figure out bymyself if the things are set, but I fail to find any corresponding properties if I look at the classes in the debugger, or they are null if I think they maybe the ones I search for... Any help appreciated ![]() Alex |
My System Specs![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie question on multi-threading | Curious | .NET General | 5 | 03-17-2008 01:50 PM |
| Newbie question on multi-threading | Curious | .NET General | 0 | 03-16-2008 10:11 PM |
| WPF: threading problem | Griff | .NET General | 0 | 03-03-2008 07:29 AM |
| E-mail: threading | Ildhund | Live Mail | 0 | 12-09-2007 12:04 PM |
| Threading in PowerShell | Don Jones [MVP] | PowerShell | 2 | 12-28-2006 10:21 AM |