Accessing events from outside
-
-
-
I believe that there are a couple of options to notify the Windows Form ( or an outer .Net application in general), for example .Net remoting, MSMQ, ....
-
Assuming you use the .Net Remoting, briefly your Window application can host an object that can be called remotely from an outer application like the ASP.NET application. Whenever a custom event happens in the ASP.NET application, you can send a request from the ASP.NET application to notify the Windows application via this remote object about this event as well as the event-related data sent along with the request. For more information, sample code, and how-tos you can see Remote Objects[^]
-
Assuming you use the .Net Remoting, briefly your Window application can host an object that can be called remotely from an outer application like the ASP.NET application. Whenever a custom event happens in the ASP.NET application, you can send a request from the ASP.NET application to notify the Windows application via this remote object about this event as well as the event-related data sent along with the request. For more information, sample code, and how-tos you can see Remote Objects[^]
-
Thanx for this - remoting is quite usable. But maybe there is a way to pass objects inside system? I mean that would be great if objects will not be able to come out from local machine .NET system.
-
Thanx for this - remoting is quite usable. But maybe there is a way to pass objects inside system? I mean that would be great if objects will not be able to come out from local machine .NET system.