Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Remote a FlowChart (Read 1172 times)
meriturva
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Feb 27th, 2007
Remote a FlowChart
May 29th, 2007 at 7:24am
Print Post  
i'm developing a client/server application.
Every client has a different flowChart that change at runtime (color of shapes, text on box).
I have also one server that collect all raw data from client, now i would like to have a way to see all client's flowchart into the server application.

I'm starting to search a way, something like vnc embedded into my application, but i don't know if someone knows a better solution. The other solution is to export every time the client flowchart to bitmap and transfer it to server, but i don't like this solition, there is no way to make possible interaction from server to client.

Something about remoting in c#?

Thanks
Meriturva


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Remote a FlowChart
Reply #1 - May 29th, 2007 at 8:29am
Print Post  
Hi,

You could create a service (ASP.NET Web Service) project in your server solution and add a method that takes a string argument. The string will contain the diagram data passed by the clients, which you can load using LoadFromString().

Next, add a service reference to the client project, and when the user finishes editing the diagram, call the service method with a FlowChart.SaveToString() parameter value. That lets you receive the diagram data on the server, load it there, check its contents and structure, and possibly return some result to the client.

Using a service is probably the easiest solution, but you could transfer diagram strings and return results using any of the other .NET communication methods, e.g. TCP/IP connections, remoting or WCF.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint