Board index » Web Programming » Call Static Methods from Another Application

Call Static Methods from Another Application

Web Programming52
Just wondering what it would take to call a static method in a static class

of an ASP.NET 1.1 Web app from a different application.



Specifically, I have a little "utility application" (C# Windows desktop

application) that I have on my Web server. All of the ASP.NET Web

applications on the same server each have a static class with static

methods. I'd like to be able to execute the static methods in the ASP.NET

Web apps FROM the "utility application" if possible. Do I need remoting to

do this, or is there another, perhaps simpler, way?



Thanks!


-
 

Re:Call Static Methods from Another Application

You could probably just make that a webservice method that you can call.

Static or not, methods can only be called within a process the process that

owns the method.





"Guadala Harry" <GMan@BeansAndTacos.org>wrote in message

Quote
Just wondering what it would take to call a static method in a static

class of an ASP.NET 1.1 Web app from a different application.



Specifically, I have a little "utility application" (C# Windows desktop

application) that I have on my Web server. All of the ASP.NET Web

applications on the same server each have a static class with static

methods. I'd like to be able to execute the static methods in the ASP.NET

Web apps FROM the "utility application" if possible. Do I need remoting to

do this, or is there another, perhaps simpler, way?



Thanks!







-