A few useful things to remember…
App_Offline.htm
“The way app_offline.htm works is that you place this file in the root of the application. When ASP.NET sees it, it will shut-down the app-domain for the application (and not restart it for requests) and instead send back the contents of the app_offline.htm file in response to all new dynamic requests for the application. When you are done updating the site, just delete the file and it will come back online.
One thing I pointed out in the talk that you want to keep an eye on is a feature of IE6 called “Show Friendly Http Errors”. This can be configured in the Tools->Internet Options->Advanced tab within IE, and is on by default with IE6. When this is on, and a server returns a non HTTP-200 status code with less than 512 bytes of content, IE will not show the returned HTML and instead substitutes its own generic status code message (which personally I don’t think is super friendly <g>).
So if you use the app_offline.htm feature, you should make sure you have at least 512 bytes of content within it to make sure that your HTML (instead of IE’s friendly status message) shows up to your users. If you don’t want to have a lot of text show-up on the page, one trick you can use is to just add an html client-side comment with some bogus content to push it over 512 bytes.”
http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx
~~||~~
Timeouts and String Concatenations
turns out the way i’ve been concatenating strings my whole life is not the most effective one. here is some info:
“If not handled properly, String Concatenation can really decrease the performance of your application. You can concatenate strings in two ways.
- First, by using string and adding the new string to an existing string. However, this operation is really expensive (especially if you are concatenating the string within a loop). When you add a string to an existing string, the Framework copies both the existing and new data to the memory, deletes the existing string, and reads data in a new string. This operation can be very time consuming and costly in lengthy string concatenation operations.
- The second and better way to concatenate strings is using the StringBuilder Class. Below is an example of both approaches. If you are considering doing any type of String Concatenation, please do yourself a favor and test both routines separately. You may be surprised at the results.”
'Concatenation using String Class
Response.Write("<b>String Class</b>")
Dim str As String = ""
Dim startTime As DateTime = DateTime.Now
Response.Write(("<br>Start time:" + startTime.ToString()))
Dim i As Integer
For i = 0 To 99999
str += i.ToString()
Next i
Dim EndTime As DateTime = DateTime.Now
Response.Write(("<br>End time:" + EndTime.ToString()))
Response.Write(("<br># of time Concatenated: " + i.ToString))
while for others something like this may take around 4 minutes – running 100,000 requests this way has timed out my application. no results.
'Concatenation using StringBuilder
Response.Write("<b>StringBuilder Class</b>")
Dim strbuilder As New StringBuilder()
Dim startTime As DateTime = DateTime.Now
Response.Write(("<br>Start time:" + startTime.ToString()))
Dim i As Integer
For i = 0 To 99999
strbuilder.Append(i.ToString())
Next i
Dim EndTime As DateTime = DateTime.Now
Response.Write(("<br>Stop time:" + EndTime.ToString()))
Response.Write(("<br># of time Concatenated: " + i.ToString))
This one took less then a second to run.
http://www.codeproject.com/KB/aspnet/ASPNET_Best_Practices.aspx
Visual Studio 2005 Remote Debugger
I’ve had to do it 2 times so far, and each time i do it i have issues, which could be eliminated, if I saved my notes from the first time. so here goes.
1. from the Visual Studio CD, browse to tools -> remote debugger -> pick the right format and (x86 or x64) and install
2. leave the username as “LocalSystem”, password blank
3. in the IIS manager, right click on the virtual directory, Properties-> Directory Security -> Authentication and access control -> make sure Integrated Windows authentication is checked!!!!
NOTE: don’t forget one must also have FileZilla server, or any other ftp server, installed on the IIS Server to move/save/manipulate files.
yeay!
Meeeeooooooooowwwwwwww
a story of a miniature schnauzer
i should be getting the puppy sometime next week, but here is a little introduction:
My Wins
2010
Winning is a Habit
- January 8th – Fireworks over Toccoa book – Macmillan/St. Martin’s Press
- January 15th – The Choice – Good Reads
- January 22nd – Signed copy of Turned: The Blood Lily Chronicles by Julie Kenner – The Trades
- January 23rd – EcoTools by Alicia Silverstone Cosmetics Bag – Allure
- January 27th – Elizabeth Grant The Socializer Bright Lights (AM) and Late Nights (PM) – Allure
- January 30th – Holiday clutch – Glamour
- February 17th – Lea Journo La Forme Styling Lotion – Allure
- February 18th – Pair of tickets to see Bon Jovi in concert - SheKnows
- February 18th – Redken’s Aerate 08 Bodifying Cream-Mousse – Redken
- February 24th – Garnier Nutritioniste Ultra-Lift Pro Gravity Defying Cream – Allure
- March 1st – Yves Rocher Tradition de Hammam Oriental Scrub – Allure
2009
Luck is what you have left over after you give 100 percent.
- Januarty 7th – Paperback copy of A Dangerous Man by Charlie Huston – Monsters and Critics
- January 9th – American Teen DVD – Video Detective
- January 13th – Furterer repairing after-sun mask – Allure
- February 24th - Paperback copy of American Rust by Philipp Meyer – Monsters and Critics
- May 6th – Eye Pensil – Allure
- July 16th – gloRolyal lip crayon – Allure
- July 22nd - Slip of the Tongue 20th Anniversary Deluxe Edition CD and Slide It In 25th Anniversary Deluxe Edition CD – Greg Kihn’s Show
Read more…
LiveCycle cheat sheet
“If it wasn’t backed-up, then it wasn’t important.”
I have just recently plunged into the “not-so-exiting” world of liveCycle. While working with the forms, we’v discovered some bugs.
this post is ment as a mental note to self, as well as a reference for those who have run into similar issues. If you have questions or comments feel free to post.
Limiting visible area on numeric fields.
There are a few ways to do this, you can:
make the field a text field, limit the visible area, or set the max # of characters and use any simple IsNumeric() javascript functions to validate the input. If you want the user to only be able to type in numeric digits, you can use the following:
Large Hadron Collider

I’v heard many talk about the Large Hardon Collider, and have finally decided to google and see for myself.
It is “the largest and the most sotisphicated machine ever built”, used to accelarate and collide particles to recreate the begginig of time (big bang). There has been a lot of conversy surrounding the topic. Many scientists believed that the experiement, if gone wrong, could be our dooms day, but since starting the testing on September 10th, 2008, everything seeems to be going smooth for now.
Read more…
Baba Vanga
“Everything will melt away like ice yet the glory of Vladimir , the glory of Russia are the only things that will remain. Russia will not only survive, it will dominate the world.”
I have only recently heard of Vanga – a bulgarian woman, who was caught in a tormado and lost her eye sight from getting the sand in her eyes. There is a lot of information on here online but it all seems a little scatchy. here is an example of her upcoming events to take place:
![]()
Thanks for ChaChaing!

and so my ChaCha career begins…..
I must admin that i was first going for the Guide role, but was too lazy to look through their material and failed the test. I wonder if they’ll let me take it again…. Read more…
Diamonds are forever
“Иногда приходит момент, и ты понимаешь, что всю жизнь делал только кубики льда.
И сейчас они медленно тают в чужих бокалах… “
City of the future.
“ he man who smiles when things go wrong has thought of someone to blame it on”
City of the future competition is sponsored and conducted by the History Channel. It was originally made out of 8 teams who had to redesign and innovate a city, to try and predict what it would look like in 2108.
“The competition was fierce with 8 teams in each city vying for the $10,000 Grand Prize and City of the Future title. Teams only had one week to envision what their city might look like in 100 years, a mere 3 hours to construct their models, and just 15 minutes to present their vision to a panel of five esteemed judges”
