Visual Studio and making changes to web form

  • Thread starter Thread starter Jay Williams
  • Start date Start date
J

Jay Williams

Hi, I created a simple ASP .Net website (not web application) in Visual
Studio 2005. In the default.aspx page I display a simple statement such as
"hello". When I run the web page with the built in web web server I see
"hello" printed, but if I change it to "hello world" and re-run I still just
see "hello". I do not believe it is my browser caching the page (tried
clearing history and cache, adding no cache headers etc.), I think it is
what Visual Studio stores in the temporary ASP .Net folders. If I close VS,
delete the folder for my website and then rerun I see my changes.

How can I refresh my website so that I see the most recent changes each time
I run? I am trying to work on some javascript and the changes I make are
not being displayed in the browser.

Thanks,
Jay
 
How can I refresh my website so that I see the most recent changes each
time I run? I am trying to work on some javascript and the changes I make
are not being displayed in the browser.

I guess I just need to stop the development server in the icon tray and then
I see my changes the next time I run.
 
Hi, I created a simple ASP .Net website (not web application) in
Visual Studio 2005. In the default.aspx page I display a simple
statement such as "hello". When I run the web page with the built in
web web server I see "hello" printed, but if I change it to "hello
world" and re-run I still just see "hello". I do not believe it is my
browser caching the page (tried clearing history and cache, adding no
cache headers etc.), I think it is what Visual Studio stores in the
temporary ASP .Net folders. If I close VS, delete the folder for my
website and then rerun I see my changes.

How can I refresh my website so that I see the most recent changes
each time I run? I am trying to work on some javascript and the
changes I make are not being displayed in the browser.

It very well can be browser caching, so I would set those settings
first. Another option is to hit control + F5, which forces the browser
to recache any data.

You then get to server caching, which might require a restart, but this
is not normally needed, as you can also deal with the settings and avoid
caching. If you are using a web application template, you can also
rebuild the site and force it to dump the server side cache so you get
the new page.

As a note: Changes in code, rather than tags, are less likely to be
cached.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top