vb/window serivce

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I use C# to build a window service, inside it, there is a complex
function
dosomething() .

Now in asp/VB, I need to call the docomething(), is it possible?
 
You should expose the dosomething method through a remoting or WCF
endpoint, and then connect to that endpoint from the ASP (is this ASP or
ASP.NET)/VB (is this VB.NET or VB6?) service.

If you are using ASP/VB6, then you can probably create a COM component
exposed from .NET which will make the call to your service through
WCF/Remoting.
 
Hi, I use C# to build a window service, inside it, there is a complex
function
dosomething() .

Now in asp/VB, I need to call the docomething(), is it possible?


Don't use a service for this (if you can), use COM+ component services
(System.EnterpriseServices) to expose this functionality to ASP/VB
(downlevel ASP/VB), you can even configure the COM+ service as a Windows
Service. The same COM+ application can be used as-is from managed clients,
all you need to do is change the asp side whenever you decide to migrate to
ASP.NET.

Willy.
 
Thanks Willy,
How to do that?

Willy Denoyette said:
Don't use a service for this (if you can), use COM+ component services
(System.EnterpriseServices) to expose this functionality to ASP/VB
(downlevel ASP/VB), you can even configure the COM+ service as a Windows
Service. The same COM+ application can be used as-is from managed clients,
all you need to do is change the asp side whenever you decide to migrate to
ASP.NET.

Willy.
 

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

Back
Top