D
Dugan Zhang
Previously I was building websites using asp. I have a folder name
"projects", under the projects folder, I have number of subfolders,
each subfolder represent a website I'm building. Inside each
subfolder, I would have varies files for that website such as asp,
images.
This works fine for asp websites, all I have to is create one virtural
directory in IIS for the projects folder and I can access each
websites that I'm building by "/projects/folder name"
Now, I switching to ASP.NET, I would have to create a virtual
directory for each of the subfolder under the projects folder,
otherwise it will not able to find the assemblies for the website.
Is there any way to get around that? I was thinking of using
AssemblyResolve event in the global.asax file to dynamically load the
assemblies, but this doesn't seems to work.
"projects", under the projects folder, I have number of subfolders,
each subfolder represent a website I'm building. Inside each
subfolder, I would have varies files for that website such as asp,
images.
This works fine for asp websites, all I have to is create one virtural
directory in IIS for the projects folder and I can access each
websites that I'm building by "/projects/folder name"
Now, I switching to ASP.NET, I would have to create a virtual
directory for each of the subfolder under the projects folder,
otherwise it will not able to find the assemblies for the website.
Is there any way to get around that? I was thinking of using
AssemblyResolve event in the global.asax file to dynamically load the
assemblies, but this doesn't seems to work.