P
Pepe Le Peu
I have been looking at Remoting and Web Services and I think I can do almost
anything I want with Web Services.
Here's my intellectual puzzle though:
Suppose I wanted to create a P2P application using just web services.
It would work something like this:
1) Assume a client (A) with a button and a text box.
2) Assume the client is aware of an identical client (B) on another machine.
3) The client has a web method, Update(string Str)
4) When the method is called it sets the label.Text = Str
So the idea is this is a very basic chat application.
Client A cals ClientB.Update()
and
Client B calls ClientA.Update()
The thing I need to figure out is how a c# windows form client can expose a
web method such as Update() ?
Is it possible ?
Is there an easy way to put a web services method into a regular client
app ?
anything I want with Web Services.
Here's my intellectual puzzle though:
Suppose I wanted to create a P2P application using just web services.
It would work something like this:
1) Assume a client (A) with a button and a text box.
2) Assume the client is aware of an identical client (B) on another machine.
3) The client has a web method, Update(string Str)
4) When the method is called it sets the label.Text = Str
So the idea is this is a very basic chat application.
Client A cals ClientB.Update()
and
Client B calls ClientA.Update()
The thing I need to figure out is how a c# windows form client can expose a
web method such as Update() ?
Is it possible ?
Is there an easy way to put a web services method into a regular client
app ?