Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
thund3rstruck wrote:
The HTTP protocol is stateless; however, server controls provide a rich programming model that manages state between page requests by using view state


Yes, this is true. But, you can turn viewstate off, you can use repeaters ( my favourite control when it comes to creating lightweight solutions that scale well ), etc. ASP.NET does not scale well when people use it blindly, but, what does ?

Is your site bigger than CP ? Does it have more users than CP ? CP is written in ASP.NET, using server controls. However, again, the repeater is your friend if you want to have control over how well things behave. And, for you to talk about trying to scale well, and still ask about getting all of your data from the server, and then sending it all to a client, is ridiculous. viewstate is rarely going to be as big as the XML you're talking about sending, so you've traded one problem for another, as well as the addition time it takes to get that data from the database. You need to write your own paging control, and then write database code that returns the number of pages and the data in the current page, so you can render it without sending needless data to the client or requesting it from the DB. That's your two biggest issues of scale - the amount of data you ask for and the size of the pages you send, and in both cases you were advocating rolling out a solution that replicated the issues that could cause scaling problems with ASP.NET controls. You can instead use a repeater, write your own paging code, and solve the problems without throwing out server controls completely.

Christian Graus

Driven to the arms of OSX by Vista.

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 
AnswerRe: Read xml from SSL server Pin
Uwe Keim12-Dec-08 9:57
sitebuilderUwe Keim12-Dec-08 9:57 
GeneralRe: Read xml from SSL server Pin
Phrone12-Dec-08 10:01
Phrone12-Dec-08 10:01 
QuestionObjectDataSource bounded DropDownList in GridView Pin
b43r_3oo312-Dec-08 5:49
b43r_3oo312-Dec-08 5:49 
QuestionEnabling view state Pin
chandra vempati12-Dec-08 5:24
chandra vempati12-Dec-08 5:24 
AnswerRe: Enabling view state Pin
Christian Graus12-Dec-08 10:18
protectorChristian Graus12-Dec-08 10:18 
QuestionDataBound DropDownList Questions (2) Pin
ffowler12-Dec-08 4:02
ffowler12-Dec-08 4:02 

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.