Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello all, thanks for looking in.

 

I seems to me after an extensive anount of looking about that I can't make remoting usefull.

 

Clearly I am missing something here....

 

All the applications that I can find load a host, that host has objects and functions, even verables. but here is the kicker, I can't seem to get the object to read any of the host's verables.

 

Say for example the host application is a form based application that holds information in a data view. I can't work out how to get the code that is the class object being loaded to be able to reference this DV.

 

I am inviting you all to make me feel silly and tell me where I am going wrong.

 

Thanks

 

James

Posted

Thanks for the response.

 

But I find these examples load objects from a dll file. The opjects in the DLL file are what handel the incoming request.

 

I am able to hold values inside of the dll, but that dll is not able to colect information from the application (server/host) that has loaded it.

 

I want to write an application that receives information from external hardware. clearly this would need to be done outside of that object but could with ease be handled in the host application.

 

In short I would like to know how to get the server side object to be able to use public verables that are difined by the form or module that loads the remoting setup that forms the host.

 

I hope I have made that clear, please let me know if you are unsure of what I mean.

 

Thanks again

 

James

  • Moderators
Posted

Are you talking about Client Activated Remoting? If so then search VS help for "Client Activated Remoting".

Also look here ....http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpBrokerClient.asp

Visit...Bassic Software
Posted

Getting closer, but still not able to preform what I need.

 

You see, the client activated object is able to preform function on the server like getting information from a DB, but this would mean that I would need to write the servers values to the db and then read them. I just want to be able to read them strait from the object.

 

Any more ideas?

Posted

Not realy.

 

I am it is reading values from a DV that is backed up to a DB every five min. But the information I am getting a hold of is held in a DV.

 

I have managed to find a way to do it. I am just checking it out now. If it is ideal I will send you a discription of what I have done. You might find it interesting.

 

Cheers

 

James

  • 2 weeks later...
Posted

Hello again

 

While I have the program working fantasticaly on a local machine, when I run it over the internet it runs so slow it is basicaly un usable.

 

I supose it would have been a good idea to ask the question at the beging, "how fast is remoting"

 

I am finding that with two machines both on adsl conections, there seems to be at least a one second delay between any request, even if it is just requesting a simple function with no calculation at the server end.

 

Do you have any sugestions?

 

Thanks

 

James

Posted

When ever you post a message on here there is always the chance you make a fool of yourself to everyone....

 

Turns out that remoting is super fast.

 

My problem is that I was pasing the server a fixed length string.

 

It was HUGE!

 

and completly un needed, on a local machine it could handle it with ease, but it showed up over the net.

 

Problem fixed, thanks again

 

James

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...