10:08:09 PM #
I came across this Microsoft document that explains the trouble I've been having with setting the app.config file by editing the project file.
The file specified by the ConfigurationOverrideFile property will be renamed to web.config when the project is deployed. This property is meaningful only for Web projects.
5:35:50 PM #
8:43:13 AM #
I have always assumed that the automatic image resizing that occured within Internet Explorer was specific to XP. Well, of course, it has nothing to do with XP and everything to do with IE 6. I finally became frustrated enough to investigate and at last found the source of this annoying setting.
Try Tools -> Internet Options -> Advanced -> Multimedia -> Enable automatic image resizing and turn it off. I promise you'll be happy you did. Now when you click on a screenshot it will be actually be readable!
1:07:56 PM #
11:19:10 AM #
Angry Coder has a good column on Visual Studio .NET problems, including something I will definitely try the next time my environment is muddled beyond repair.
"I usually need to close down VS.NET and re-open it at least once per day because of some weird thing it is doing. Sometimes the problem doesn't go away and I eventually learned that deleting the VSWebCache fixes the problem. I even went so far as to create a batch file to do this automatically and I added it to the External Tools menu in the IDE." [Ken McNamee]
9:43:11 AM #
Expiring Pages in ASP.NET
These are the methods to force a server request when a page is accessed within the browser. Unfortunately, none of these have worked consistently, and none have had any effect on the browser's BACK button.
Response.Cache.SetCacheability(HttpCacheability.NoCache);
<%@ OutputCache Location="None" %>
this.Response.Cache.SetExpires(DateTime.Now);
this.Response.Expires = -1;
<meta HTTP-EQUIV="Expires" CONTENT="0">
if (String(Session["SessionUser"]) == "") SignOut();
And lastly, IIS > Default Web Site > Properties > HTTP Headers > Enable Content Expiration
4:43:00 PM #
Copyright 2003 Brian Bailey
Theme Design by Bryan Bell