loading assemblies over http without remoting

  • Thread starter Thread starter JT
  • Start date Start date
J

JT

Hi,

Is there a way to have one of my assemblies (dll) be loaded at runtime from
a URL instead of locally? i.e., I would never want that dll to reside on the
user's hard drive, not even as a temp file: straight from the network into
memory. I don't want to use remoting because I'd prefer to not have to
assume that I can use IIS...

Thanks
JT
 
You can load assemblies from a URL. Look at the Assembly class for details.
However, this doesn't mean files aren't written to the harddrive. I believe
the JITted version goes into the cache. You'll have to experiment, as I'm
not sure you are goint to get exactly what you think you are getting.
Secondly, remoting doesn't require IIS. Remoting doesn't really care about
the transport layer (that is more or less plug-in based). So by default,
Remoting with an HTTP transport plug-in requires IIS. However, raw binary
remoting with a TCP transport plug-in does not. Support for both HTTP and
Binary TCP remoting are built-in.

-Rob Teixeira [MVP]
 
Back
Top