Call Static Methods from Another Application

G

Guadala Harry

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!
 
P

Peter Rilling

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top