Where to put Dlls

T

tshad

I have a Windows Service that runs on the same machine as my Web Server.

I am trying to figure out the best place to put the .exe. Also, I want it
to access 2 dlls that are in my bin folder of one of my Web Applications.
If I am dealing with the .exe only, I can just put the .exe anywhere and
just point at it. This isn't the case if I have dlls I want to access.

I wanted to find out where most people put these.

Thanks,

Tom
 
P

Phill W.

tshad said:
I have a Windows Service that runs on the same machine as my Web Server.

I am trying to figure out the best place to put the .exe.

The Service executable can go anywhere you want.
Also, I want it to access 2 dlls that are in my bin folder of one of
my Web Applications.

IMHO, shared DLLs like this, should be [Strongly Named and] loaded into
the Global Assembly Cache. That way, /any/ process on the machine can
make use of it.

Alternatively, look at the dependentAssembly and codeBase entries
placable into App.Config (although this will be problematical for a
Windows Service which, generally has trouble finding its own Config.
file! :)

HTH,
Phill W.
 

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

Top