Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cost for using Server control

Reply
Thread Tools

Cost for using Server control

 
 
Ali
Guest
Posts: n/a
 
      12-05-2003
hi, I am new to asp.net. I have a question about
Marshelling b/w client browser and web server(database). I
heared that it is better to minimize going back and forth
b/w client browser and the server.This will increase
performance and improve scallability.
With asp.net, using server controls. It seems every action
at the client browser require a trip to the server, for
instance, page_load ( to fill combo boxes), or the event
of the combo boxes to fill other dependant combo box. or
when using the server validation controls.
What I am trying to get into is that how come asp.net
development favour using web server controls
[runat="server] even when there is cost (lots of
marshelling b/w client browser and the server)
Or my thinking is wrong.
I would appreciate your feedback to make things clear to
me.
thanks
Al
 
Reply With Quote
 
 
 
 
Jason S
Guest
Posts: n/a
 
      12-05-2003
Ali,

Your concerns are valid. I had the same concerns when I first started
asp.net development. The reasons are fairly numerous why the man decided to
design it this way but really it comes down to tradeoffs. Even for a
function call you are trading perf for good design. Too bad you can't
inline a postback eh? But you still have control over every postback. i.e.
if you just need a link, don't create a server control, just write out an
anchor tag.

Regards,
Jason S.

"Ali" <> wrote in message
news:05c301c3bb48$875cc830$...
> hi, I am new to asp.net. I have a question about
> Marshelling b/w client browser and web server(database). I
> heared that it is better to minimize going back and forth
> b/w client browser and the server.This will increase
> performance and improve scallability.
> With asp.net, using server controls. It seems every action
> at the client browser require a trip to the server, for
> instance, page_load ( to fill combo boxes), or the event
> of the combo boxes to fill other dependant combo box. or
> when using the server validation controls.
> What I am trying to get into is that how come asp.net
> development favour using web server controls
> [runat="server] even when there is cost (lots of
> marshelling b/w client browser and the server)
> Or my thinking is wrong.
> I would appreciate your feedback to make things clear to
> me.
> thanks
> Al



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NZ Cost vs US Cost... news.xtra.co.nz NZ Computing 14 01-05-2006 01:03 PM
Windows server SBS cost less then Windows Server 2003 Steve Benson Computer Support 4 08-26-2005 05:29 PM
Low Cost Drive Image Option For Cloning Windows NT 4.0. True Image Server Is Expensive Bobby Fischler Computer Support 4 08-19-2004 02:27 AM
Copy file from server to server using server control button FileCopy() HELP =?Utf-8?B?UGVyZG8=?= ASP .Net 0 02-06-2004 08:11 PM
HTML Client Control versus. HTML Server Control versus. Web Server Control Matthew Louden ASP .Net 1 10-11-2003 07:09 PM



Advertisments