You specify the url through a codebase element in the app/web.config
file. You can test this by adding a reference to a DLL but after
successful completion delete the DLL. You will get exceptions related to
"Trying to download "file" etc. This technique is called probing that
is done through the <codeBase> element.
For example, the following sets a codebase url for an assembly
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="myAssembly"
publicKeyToken="32ab4ba45e0a69a1"
culture="neutral" />
<codeBase version="2.0.0.0"
href="http://www.litwareinc.com/myAssembly.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
The above can be found in msdn at
http://msdn.microsoft.com/library/de.../en-us/cpgenre
f/html/gngrfCodeBase.asp
You can set this element when using the .Net Framework Configuration 1.1
tool in the Administrative Tools when you are configuring an application
or you can manually code it into the web.config file. Remember to
copy/paste the above into the web.config file separately.
with regards,
J.V.Ravichandran
-
http://www.geocities.com/
jvravichandran
-
http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
-
http://www.southasianoutlook.com
-
http://www.MSDNAA.Net
-
http://www.csharphelp.com
-
http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at
http://www.Google.com
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!