[WCF] Some basic questions
Hi guys :wave:
I have gone through some video & web tutorials and have some doubts.
- Is it possible to create more than one ServiceContract ?
- Is it possible to create more than one DataContract ?
- I heard about SelfHosted services. So, it would run when the server application runs. Is it ?
- If we the server needs to send some messages to the clients, how is it done ? What I have seen in the tutorials is calling the functions of the service which is being hosted in the server.
Thanks :wave:
Re: [WCF] Some basic questions
1 + 2: Yes that is no problem at all
3: That is correct, the wcf service is started from the application/windowsservice
4:that can be done using a duplex bindng
Re: [WCF] Some basic questions
Thanks :wave:
I'll do some googling for "duplex binding" and will let you know if I have any other doubts. :)