Move the App_Code directory

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am new to .net and am stumped as to how to use "include" files in my
asp application.

Currently I have created classes in the app_code directory that are
shared between various aspx pages and this works fine. The problem,
however, is - I am trying to include aspx functionality as part of a
pre-existing classic asp 3.0 website. I.e., in iis I have old website
as normal - within this application their is a folder which contains
the new .net2 part of the program. Again, this works fine but the
problem is when the server looks for code in the app_code directory it
is looking in the root of the website rather than my specified aspx
directory. Is their any way of specifying where the app_config folder
is read from? Otherwise it makes deployment and testing a real pain.
I know that at some point I will probably need to compile the site and
this may remove these problems? But in the meantime could anyone shed
any light on this issue. Any help or pointers in the right direction
would be appreciated.

Many thanks in advance for any response.

.



Relevant Pages

  • Treeview.htc
    ... I'm using a TreeView Web Control in an ASP .NET page. ... In the result aspx page i see this line: ... This works fine with a website, but i have to use a virtual directory and in ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Cookies
    ... I have a simple cookie which is holding a string showing the current ... language chosen in my website. ... My problem is about asp pages. ... cannot change from aspx page again. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Converting ASP site to .NET
    ... existing personal website to .NET from classic ASP. ... I'm assuming I want my aspx files in the root of my site in the same ... Previously I had my server set up so that the root folder of my web was ...
    (microsoft.public.dotnet.general)
  • Re: Forcing ASP.NET 1.1 isnt working
    ... Since the home page was asp (unmanaged code), ... the website require access to the 2.0 framework directory. ... (and without reconfiguring any existing apps to run under ASP.NET 2.0). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Manually Configure site for ASP .NET 2 - Revisited
    ... but with Windows XP x64 Edition. ... Configuring web site http//localhost/DotNetNuke to ASP .NET 2.0 failed. ... devices", I have created a website, but as soon as I carry out the last ...
    (microsoft.public.dotnet.framework.aspnet)