Friday, June 1, 2007

The wonders of "app_offline.htm" in ASP.NET application

app_offline.htm

If you want to kill someone trying to deploy or build or working with ASP.NET application, you can play this trick on him/her.

Steps:
1) Go to the root folder, which is the "Start up project" for their app
2) right click, select notepad and rename it as "app_offline.htm"
Thats all you are done.

When they trying to run the app, with the project (in which u created this htm file), as the startup project, it gives them an error message, which they cannot figure out unless they know about this file and look into the directory.

Pretty funny, interesting, wierd but I like it.

No comments: