Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWorking with Crystal Reports Pin
SUDHAKAR PALLAM12-Dec-08 20:43
SUDHAKAR PALLAM12-Dec-08 20:43 
AnswerRe: Working with Crystal Reports Pin
Abhijit Jana12-Dec-08 22:24
professionalAbhijit Jana12-Dec-08 22:24 
Questiondisplay images in grid view from sqltable(urgent) Pin
lavesh2129112-Dec-08 20:05
lavesh2129112-Dec-08 20:05 
AnswerRe: display images in grid view from sqltable(urgent) Pin
Christian Graus12-Dec-08 20:14
protectorChristian Graus12-Dec-08 20:14 
GeneralRe: display images in grid view from sqltable(urgent) Pin
Eytukan12-Dec-08 20:21
Eytukan12-Dec-08 20:21 
AnswerRe: display images in grid view from sqltable(urgent) Pin
Abhijit Jana12-Dec-08 22:27
professionalAbhijit Jana12-Dec-08 22:27 
QuestionRe: display images in grid view from sqltable Pin
lavesh2129114-Dec-08 21:36
lavesh2129114-Dec-08 21:36 
QuestionASP.NET Performance & JS/XML Pin
thund3rstruck12-Dec-08 19:48
thund3rstruck12-Dec-08 19:48 
Hi guys,

I have been doing a lot of work with stress testing ASP.NET applications recently and some of our production systems appear to be highly in-efficient and slow even after logically partitioning pages into user controls and enabling caching. I've followed the MSDN ASP.NET Performance Best Practices religiously and I think my data bound server controls might be the problem (Grids, Trees, etc, etc) which is causing my Pages Per Second, TTFB, and TTLB values to be so poor; some of my pages take up to 30000ms (30sec) to get to TTLB!

I have replaced several server controls with their HTML/JS counterparts (replacing GridViews/DataLists with tables & using Javascript to handle sorting, parsing, etc).

I'd like to extend these client-only HTML/JS controls to support features like data paging but in order to do that I think I'm going to have to do some kind of transformation of the data to XML so javascript can do the paging. I can't help but think that the overhead involved with running SQL queries, transforming the data to XML, and sending the XML to the client would be as slow (or slower) as using a server GridView control with an ObjectDataSource because the GridView doesn't have to do the XML transformation or send this extra data to the client.

My question is this, if I execute a SQL query that returns 1000 rows and I intend on displaying 10 rows at a time in a table with a pager (10 pages) do I have to send the whole xml file to each browser client and if so, then even though the user experience might be more rich, wouldn't this kind of contradict the whole concept of performance tuning and optimization?

Am I approaching this performance tuning wrong? Can I expect a significant improvement in ASP.NET application responsiveness by replacing all the built-in server controls with HTML/JavaScript controls?

I'm rambling now, but any help the experts can provide on this matter would be highly appreciated.

Thanks!
AnswerRe: ASP.NET Performance & JS/XML Pin
Christian Graus12-Dec-08 20:13
protectorChristian Graus12-Dec-08 20:13 
GeneralRe: ASP.NET Performance & JS/XML Pin
Eytukan12-Dec-08 20:13
Eytukan12-Dec-08 20:13 
GeneralRe: ASP.NET Performance & JS/XML Pin
Christian Graus12-Dec-08 20:14
protectorChristian Graus12-Dec-08 20:14 
GeneralRe: ASP.NET Performance & JS/XML Pin
Eytukan12-Dec-08 20:20
Eytukan12-Dec-08 20:20 
GeneralRe: ASP.NET Performance & JS/XML Pin
thund3rstruck12-Dec-08 20:51
thund3rstruck12-Dec-08 20:51 
GeneralRe: ASP.NET Performance & JS/XML Pin
Christian Graus13-Dec-08 10:06
protectorChristian Graus13-Dec-08 10:06 
GeneralRe: ASP.NET Performance & JS/XML Pin
thund3rstruck13-Dec-08 15:59
thund3rstruck13-Dec-08 15:59 
Questionhow to work with Treeview Pin
Nanda_MR12-Dec-08 17:40
Nanda_MR12-Dec-08 17:40 
AnswerRe: how to work with Treeview Pin
codingrocks12-Dec-08 17:43
codingrocks12-Dec-08 17:43 
GeneralRe: how to work with Treeview Pin
Nanda_MR12-Dec-08 18:00
Nanda_MR12-Dec-08 18:00 
GeneralRe: how to work with Treeview Pin
codingrocks12-Dec-08 18:11
codingrocks12-Dec-08 18:11 
GeneralRe: how to work with Treeview Pin
Nanda_MR12-Dec-08 19:11
Nanda_MR12-Dec-08 19:11 
GeneralRe: how to work with Treeview Pin
Christian Graus12-Dec-08 19:24
protectorChristian Graus12-Dec-08 19:24 
Questionasp:TextBox backgroundColor change also affects borderStyle? Pin
Cyrilix12-Dec-08 8:35
Cyrilix12-Dec-08 8:35 
AnswerRe: asp:TextBox backgroundColor change also affects borderStyle? Pin
Uwe Keim12-Dec-08 9:56
sitebuilderUwe Keim12-Dec-08 9:56 
GeneralRe: asp:TextBox backgroundColor change also affects borderStyle? Pin
Cyrilix12-Dec-08 20:40
Cyrilix12-Dec-08 20:40 
QuestionRead xml from SSL server [modified] Pin
Phrone12-Dec-08 8:24
Phrone12-Dec-08 8:24 

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.