debbugging in iis - serving outdated pages



Hi

So far, I've always been debugging my ASPX pages using the ASP.NET
development server within Visual Studio, and then when everything worked
out, deployed the aplication on a remote IIS (running on Win2003). A few
times, I made some changes in the .cs files on the webserver as well, and
those were taken into account immediately.

Now I've had to write an application that returns XML to be displayed on a
phone. I've tested as much as possible using the ASP.NET development server
and my browser, and now it's time to test it on the phone. Naturally it
doesn't work right away and that's the point where I figured out the
development server doesn't allow remote connections. So I created a new
project, created a new virtual directory on the IIS on my development box
(WinXP) and pointed it to the directory where my existing application
resides. After adjusting the IIS security settings, I'm now able to debug
via IIS. However, when I make any code changes and try to debug the file,
the breakpoint doesn't hit, VS tells me the code in the editor doesn't match
the deployed code, and looking at the output in the browser, I can see that
IIS still serves the old content. I even went as far as to restart the IIS,
and it still serves the old content.

IIRC, that's what drove me to using JSP for those phone apps a few years
back (there debugging more or less works out as I like it.. although
Netbeans doesn't hold a candle to VS) - but I'm convinced there must be a
way. After all, if I make change a line on a .cs file on one of our
productive servers, the next time somebody accesses the corresponding page,
he gets to see the change I made.

Any insight into this behavior and to correct it wold be much appreciated.
Regards
Stephan


.



Relevant Pages

  • Re: System.io. in VS.NET 2005 debug
    ... probably you started File bases project, not IIS one ... In this case the ASP.net development server is started, which hosts your app- you can see the icon into the notification area. ... Start debugging again, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Development in IIS or on file system
    ... I can copy the files from the file system to my local IIS to test ... the ASP.NET Development Server is a limited environment for sure. ... the most important ones is that it allows developers to run and debug ... say that you have a Web server called Web01. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Broken image links using Visual Studio 2005 Development Server
    ... the development server, a lot of images that are in subfolders don't get ... If I use IIS to serve the site then it ... debugging (locally on the same machine as the debugger? ...
    (microsoft.public.dotnet.framework.aspnet)
  • IIS 6.0 vs IIS 5.1
    ... My web project runs on machine (local host) successfully. ... development server and I met a lot of troubles. ... an instruction is satisfied it will update database. ... Here are some infos of the development server (IIS) ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.Net 2.0. Cannot view project in IE.
    ... I'm running Windows XP SP2 (firewall is off and no other firewall exists, ... the "ASP.Net development server" appears to load ... up correctly with the icon appearing in the system tray. ... through the development server application rather than using IIS? ...
    (microsoft.public.dotnet.framework.aspnet)