473,320 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Cost for using Server control

Ali
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
Nov 18 '05 #1
1 1327
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" <aa********@yahoo.com> wrote in message
news:05****************************@phx.gbl...
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

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ajay | last post by:
hi! i have an application that runs on a pocket pc. the application has a server which responds to UDP requests. each request contains the address of another server (say, server_b). the pocket...
2
by: Steven T. Hatton | last post by:
What is the runtime cost of wrapping a function call in a try/catch? I assume it's something like an if/else when it goes on the stack. I believe that means an additional compare and an...
4
by: Teddy | last post by:
If I use just a STL container such as std::vector in my program. Is "using std::vector;" better than "using namespace std" ? Does "using namespace std" cost ?
41
by: Matt Alanzo | last post by:
Our SOHO 2 person compay sells furniture (not programmers). In '98 we paid $,$$$ for a VBA -Access '97 accounting application, including VBA source code .... an huge investment for us then (and...
6
by: Colin McNaught | last post by:
Hi, I find myself having to support a small ASP/VB/Access web application for a customer of mine. (Our main expertise is PHP/MySQL/Apache). Other than testing on the Customers ISP's Server, are...
5
by: Miyra | last post by:
Hi. I'm working with an app that uses exceptions for control flow. These are code blocks where exceptions are thrown/caught regularly. A couple hundred exceptions occur per hour and they're caught...
0
by: stig erikson | last post by:
Hello. For a project we are planning cost management. Each "user" should pay for the cost he/she generates on the postgresql server. The idea is that a query should be charged by the ammount of...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
13
by: Rob S | last post by:
I'm new to C#, new to a project, and wondering about the differences between two ways of handling a particular situation in our code. In a nutshell, what is the performance difference between...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.