I have a web service that is using an external dll via pinvoke. My question is, when is the external dll loaded - when the web service starts or only when the service contract that invokes it is called?
Thanks
The unmanaged DLL is loaded when it is first used.
This is the same behavior as with managed assemblies your program uses.