newbie: asp.net and remoting help required

  • Thread starter Thread starter abdul bari
  • Start date Start date
A

abdul bari

Hi I want to able to communicate between a machine running a web based
client, and another machine running another type of client.

When the aspx page is downloaded, there is button that sets the value
of a bool to either true or false. I want this value to be available
to another machine.

My idea is when aspx page is downloaded a remote Object Server and
host is created. The value of the bool is passed onto the Remote
object. On the receiving side I want the client to call the remote
object and obtain the value of the bool. I am not sure if this is
possible.
The problem is normally with non ASP.NET you compile the code and
reference the relevant library, with ASP.NET there isn't a library as
such and the code doesnt generate dll. So how can this be achieved or
are there alternative methods, eg. using form post to pass value of
bool to web server and then pick up the value through environment
variable and then have the remote object server on the web server
store the bool value. If so how can this be done??

Please excuse me if I have made poor assumptions!!

Thanks
abz
 
abdul bari said:
Hi I want to able to communicate between a machine running a web based
client, and another machine running another type of client.

When the aspx page is downloaded, there is button that sets the value
of a bool to either true or false. I want this value to be available
to another machine.

My idea is when aspx page is downloaded a remote Object Server and
host is created. The value of the bool is passed onto the Remote
object. On the receiving side I want the client to call the remote
object and obtain the value of the bool. I am not sure if this is
possible.
The problem is normally with non ASP.NET you compile the code and
reference the relevant library, with ASP.NET there isn't a library as
such and the code doesnt generate dll. So how can this be achieved or
are there alternative methods, eg. using form post to pass value of
bool to web server and then pick up the value through environment
variable and then have the remote object server on the web server
store the bool value. If so how can this be done??

Please excuse me if I have made poor assumptions!!

You have definately made poor assumptions and you're not thinking in
..NET :)

Is this "remote object" in another process? Is it like a legacy
app that can't have a web service wrapped around it?

Do you just want some type of application-level storage with which
all clients can get/set values?

There is an Appliction property on the Page object (in your code-behind)
that gives you access to an application-wide Hashtable. You must lock
on it in certain circumstances, but other than that it's easy to use.

Please give us more details

-c
 
Back
Top