J
Jiho Han
This has been asked many times before but it seems there haven't been clear
answers.
I have an application root at
http://localhost
and subdirectories
http://localhost/app1
which is not a virtual directory. So normally all assemblies will be
searched for in http://localhost/bin directory. I want to change this so
that for app1, the runtime searches in http://localhost/app1/bin and for
app2, in http://localhost/app2/bin, etc...
I've set up <probing> element in my web.config and found some issues and was
wondering whether some of these are bugs, *features*, etc.
1. <probing> element specified in web.config under app1 folder seems to have
no effect. Thus <probing> element must be specified once in the app root's
web.config for all app1..N.
2. Regardless of the existence of <probing> element, the assembly that
contains your Page derived class(your typical presentation layer) must still
be located in app root's bin folder. All other business, DAL, utilities can
be located in app1/bin folder.
3. Q: Can <codeBase> be utilized in my situation? Note that these are all
private assemblies.
Thanks for any information you can provide. Please feel free to share your
experiences with <probing> and general assembly location issues.
Jiho Han
answers.
I have an application root at
http://localhost
and subdirectories
http://localhost/app1
which is not a virtual directory. So normally all assemblies will be
searched for in http://localhost/bin directory. I want to change this so
that for app1, the runtime searches in http://localhost/app1/bin and for
app2, in http://localhost/app2/bin, etc...
I've set up <probing> element in my web.config and found some issues and was
wondering whether some of these are bugs, *features*, etc.
1. <probing> element specified in web.config under app1 folder seems to have
no effect. Thus <probing> element must be specified once in the app root's
web.config for all app1..N.
2. Regardless of the existence of <probing> element, the assembly that
contains your Page derived class(your typical presentation layer) must still
be located in app root's bin folder. All other business, DAL, utilities can
be located in app1/bin folder.
3. Q: Can <codeBase> be utilized in my situation? Note that these are all
private assemblies.
Thanks for any information you can provide. Please feel free to share your
experiences with <probing> and general assembly location issues.
Jiho Han