Click here to Skip to main content
16,005,467 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Alternatives to ASP.NET Ajax Pin
N a v a n e e t h12-Aug-08 6:29
N a v a n e e t h12-Aug-08 6:29 
QuestionSession Issues with Firefox Pin
Johnathan Greenidge12-Aug-08 5:37
Johnathan Greenidge12-Aug-08 5:37 
AnswerRe: Session Issues with Firefox Pin
Sandeep Akhare12-Aug-08 19:50
Sandeep Akhare12-Aug-08 19:50 
QuestionClient-Side Validation causes page to scroll to the top Pin
oceanexplorer8212-Aug-08 4:05
oceanexplorer8212-Aug-08 4:05 
AnswerRe: Client-Side Validation causes page to scroll to the top Pin
Manas Bhardwaj12-Aug-08 4:06
professionalManas Bhardwaj12-Aug-08 4:06 
GeneralRe: Client-Side Validation causes page to scroll to the top Pin
oceanexplorer8212-Aug-08 4:15
oceanexplorer8212-Aug-08 4:15 
AnswerRe: Client-Side Validation causes page to scroll to the top Pin
AlexeiXX312-Aug-08 7:46
AlexeiXX312-Aug-08 7:46 
QuestionPerformance of Resources vs HashTable or ...? Pin
PauloMorfeo12-Aug-08 3:38
PauloMorfeo12-Aug-08 3:38 
At the site Casa.Sapo.pt we use Resource files to store texts for internationalization (one with the portuguese texts and another with the english texts) and we are considering using a HashTable, a Dictionary or a class directly containing strings.

In the first performance tests, i simply accessed the text's references into a String reference. The results were these:
- Resources: 1238 ms
- HashTable: 1910 ms
- Dictionary: 1968 ms
- Class of Strings: 12 ms
As expected, all took 100+ times more time to access the strings than the class with the Strings. But in here came the first strange result. The HashTable performed better than the Dictionary, which i find extremely strange.

Then, i tested loading user controls which access strings (a combination of inline accesses "<%%>", using ASP:Literal.Text and others). Now came the really strange results:
- Resources: 150 ms
- HashTable: 146 ms
- Dictionary: 256 ms
- Class of Strings: 227 ms
Everything is completely «wrong»... User controls accessing the class of String (by a long far the fastest) now is one of the slowest??? The HashTable performs better than all the rest??? The Dictionary, that should be faster than the HashTable, is the exact oposite, it is the slowest!?

Can anyone try to explain these strange results? I can't seem to make any conclusion out of these results because i don't understand what is happening to give such strange results and i am left clueless as to if i can really substitute the usage of Resource files to handle internationalization.

Windows is just as secure as Linux (when shielded with a Firewall, Anti-Virus, Anti-Spyware and disconnected from the Internet). Windows has even better performance than Linux (when running without Firewall, Anti-Virus and Anti-Spywayre).

Questiondropdown list box javascript Pin
UD(IA)12-Aug-08 3:26
UD(IA)12-Aug-08 3:26 
AnswerRe: dropdown list box javascript Pin
Sandeep Akhare12-Aug-08 20:21
Sandeep Akhare12-Aug-08 20:21 
GeneralRe: dropdown list box javascript Pin
UD(IA)12-Aug-08 20:29
UD(IA)12-Aug-08 20:29 
GeneralRe: dropdown list box javascript Pin
Sandeep Akhare12-Aug-08 20:39
Sandeep Akhare12-Aug-08 20:39 
GeneralRe: dropdown list box javascript Pin
UD(IA)12-Aug-08 20:46
UD(IA)12-Aug-08 20:46 
QuestionRadio button list with Sql Select Command Pin
amit201112-Aug-08 3:21
amit201112-Aug-08 3:21 
AnswerRe: Radio button list with Sql Select Command Pin
AlexeiXX312-Aug-08 7:51
AlexeiXX312-Aug-08 7:51 
QuestionIE Errormessege Error "Sys" undefined Pin
pvchandana12-Aug-08 2:50
pvchandana12-Aug-08 2:50 
AnswerRe: IE Errormessege Error "Sys" undefined Pin
eyeseetee12-Aug-08 2:55
eyeseetee12-Aug-08 2:55 
AnswerRe: IE Errormessege Error "Sys" undefined Pin
Christian Graus12-Aug-08 2:56
protectorChristian Graus12-Aug-08 2:56 
AnswerRe: IE Errormessege Error "Sys" undefined Pin
Sandeep Akhare12-Aug-08 2:56
Sandeep Akhare12-Aug-08 2:56 
QuestionConvert HTML to XML Pin
ThangamSundar12-Aug-08 2:43
ThangamSundar12-Aug-08 2:43 
AnswerRe: Convert HTML to XML Pin
Christian Graus12-Aug-08 2:49
protectorChristian Graus12-Aug-08 2:49 
QuestionNUnit Test Case Not Working with Asp Page Pin
Member 451421812-Aug-08 2:05
Member 451421812-Aug-08 2:05 
AnswerRe: NUnit Test Case Not Working with Asp Page Pin
Christian Graus12-Aug-08 2:55
protectorChristian Graus12-Aug-08 2:55 
AnswerRe: NUnit Test Case Not Working with Asp Page Pin
N a v a n e e t h12-Aug-08 6:25
N a v a n e e t h12-Aug-08 6:25 
Questioniam around this problem and stuck on this (string Array problem ) Pin
Rameez Raja12-Aug-08 1:31
Rameez Raja12-Aug-08 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.