setting up iis to host my remote .dlls
Hi. i have two dlls to be hosted by iis. I can set up IIS to host them within Visual Studio but I would really like to know how to do this with out the help of the IDE. i've done some searching on the net and most of what i've found is way off topic. I just want to know what i need to do after creating the virtual directory and putting the 2 .dlls and 1 web.config in the directory.
Any help or links on how to do this manually will be greatly appreciated! Thanks!
Re: setting up iis to host my remote .dlls
can you be more specific as to what these DLLs actually are? what is their purpose? are they an IIS add-in? or a DLL for the code behind in an ASPX page? or something else?
Re: setting up iis to host my remote .dlls
Yeah, thanks.
The two .dlls with be used via remoting soap or binary through port 80 from a windows forms app in vb.net. I think the only thing i need to know is how to register the .dlls? I'm not sure
here is what my web.config file looks like. and all this works when using the IDE, creating an empty web project and creating it from there, but i'd like to know the steps required to bring the .dlls and webconfig file to a different machine and set it up with out the help of the vs .net IDE.
Code:
<system.runtime.remoting>
<application>
<service>
<wellknown mode="Singleton"
objectUri="remotetestdll1.rem"
type="BusinessTier.blogic,bcom" />
<wellknown mode="Singleton"
objectUri="remotetestdll2.rem"
type="BusinessTier.FinLog,fin1" />
<serverProviders>
<formatter ref="binary" />
</serverProviders>
</service>
Re: setting up iis to host my remote .dlls
You would need to create a directory under wwwroot, copy the dlls into a bin subdirectory, copy web.config and create an application name for the new directory. You can do all of this using a batch file - search the forums because I think that recently someone posted the batch commands necessary to create an application for a virtual directory.
Cheers,
NTG
Re: setting up iis to host my remote .dlls