473,626 Members | 3,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server Workload!

I am a newbie in ASP.NET (using VB.NET) & work on Windows 2000 Professional.

I find that the client browser just doesn't play any role other than rendering the page in HTML & the server does all the work. Even the various HTML/Web controls are validated by the server. So ASP.NET relying so much on the server to do even a small task - doesn't this put extra load on the server & in the process,slow down the retrieval time of ASPX pages? A Form can easily be validated using a client-side script like JavaScript (wherein the server has no idea of those validations). Now since the onus of validating the different Form fields is on the client, the result is instantaneous. For e.g. if a user submits a Form without providing his name, an alert message box will get generated at once telling him to enter his name. This not only will ensure that the client needn't "talk" to the server every now and then & increase the workload on the server which may be catering to hundreds of requests at that time but also will minimize users' time during the transaction. Or is it something like the benefits of ASP.NET far outweigh its drawbacks & deficiencies?

The validation part is just an example I have cited.

Thanks,

Arpan
Nov 18 '05 #1
3 1476
You can let the client validate the input - it is actually directly supported by controls such as RegularExpressi onValidator or CustomValidator .
CustomValidator will let you specify a client-side script to execute.

Doing validation does make the server work a little bit more and probably should be done on the client as well. I say as well because not doing it on the server opens up for SQL Injection for example.

If there are any drawbacks with ASP.NET I don't know about them...
I've used both ASP, ASP.NET and PHP and think that ASP.NET is the best of all of them. PHP is a good alternative for small sites, but as soon as the site grows it becomes harder to maintain. An ASP.NET site if built properly will generate almost the same amount of work regardless of it's size (of course a site on the Microsoft scale would be more to maintain than the local zoo website)

// Fredrik
"Arpan" <ar******@hotma il.com> wrote in message news:OW******** ******@TK2MSFTN GP14.phx.gbl...
I am a newbie in ASP.NET (using VB.NET) & work on Windows 2000 Professional.

I find that the client browser just doesn't play any role other than rendering the page in HTML & the server does all the work. Even the various HTML/Web controls are validated by the server. So ASP.NET relying so much on the server to do even a small task - doesn't this put extra load on the server & in the process,slow down the retrieval time of ASPX pages? A Form can easily be validated using a client-side script like JavaScript (wherein the server has no idea of those validations). Now since the onus of validating the different Form fields is on the client, the result is instantaneous. For e.g. if a user submits a Form without providing his name, an alert message box will get generated at once telling him to enter his name. This not only will ensure that the client needn't "talk" to the server every now and then & increase the workload on the server which may be catering to hundreds of requests at that time but also will minimize users' time during the transaction. Or is it something like the benefits of ASP.NET far outweigh its drawbacks & deficiencies?

The validation part is just an example I have cited.

Thanks,

Arpan
Nov 18 '05 #2
Arpan,
I important point that comes to my mind is that a lot of users have started disabling their "enable script to run" option in their browser because "virus-makers" have exploited that feature to run "hidden" scripts.
In my opinion, a good programming practice would be to use client side scripting alongwith Server-side validation.

thanks,
ampra
"Arpan" <ar******@hotma il.com> wrote in message news:OW******** ******@TK2MSFTN GP14.phx.gbl...
I am a newbie in ASP.NET (using VB.NET) & work on Windows 2000 Professional.

I find that the client browser just doesn't play any role other than rendering the page in HTML & the server does all the work. Even the various HTML/Web controls are validated by the server. So ASP.NET relying so much on the server to do even a small task - doesn't this put extra load on the server & in the process,slow down the retrieval time of ASPX pages? A Form can easily be validated using a client-side script like JavaScript (wherein the server has no idea of those validations). Now since the onus of validating the different Form fields is on the client, the result is instantaneous. For e.g. if a user submits a Form without providing his name, an alert message box will get generated at once telling him to enter his name. This not only will ensure that the client needn't "talk" to the server every now and then & increase the workload on the server which may be catering to hundreds of requests at that time but also will minimize users' time during the transaction. Or is it something like the benefits of ASP.NET far outweigh its drawbacks & deficiencies?

The validation part is just an example I have cited.

Thanks,

Arpan
Nov 18 '05 #3
If the user turns off JavaScript, they may as well forget about an ASP.Net
web site. It just won't work properly. ASP.Net relies upon JavaScript for
far more than form validation. JavaScript is central to the Event model that
ASP.Net uses to connect client-side events to server-side event handlers.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"ampra" <am***@hotmail. com> wrote in message
news:uw******** ******@TK2MSFTN GP10.phx.gbl...
Arpan,
I important point that comes to my mind is that a lot of users have started
disabling their "enable script to run" option in their browser because
"virus-makers" have exploited that feature to run "hidden" scripts.
In my opinion, a good programming practice would be to use client side
scripting alongwith Server-side validation.

thanks,
ampra
"Arpan" <ar******@hotma il.com> wrote in message
news:OW******** ******@TK2MSFTN GP14.phx.gbl...
I am a newbie in ASP.NET (using VB.NET) & work on Windows 2000
Professional.

I find that the client browser just doesn't play any role other than
rendering the page in HTML & the server does all the work. Even the various
HTML/Web controls are validated by the server. So ASP.NET relying so much on
the server to do even a small task - doesn't this put extra load on the
server & in the process,slow down the retrieval time of ASPX pages? A Form
can easily be validated using a client-side script like JavaScript (wherein
the server has no idea of those validations). Now since the onus of
validating the different Form fields is on the client, the result is
instantaneous. For e.g. if a user submits a Form without providing his name,
an alert message box will get generated at once telling him to enter his
name. This not only will ensure that the client needn't "talk" to the server
every now and then & increase the workload on the server which may be
catering to hundreds of requests at that time but also will minimize users'
time during the transaction. Or is it something like the benefits of ASP.NET
far outweigh its drawbacks & deficiencies?

The validation part is just an example I have cited.

Thanks,

Arpan
Nov 18 '05 #4

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

Similar topics

6
1550
by: Marcus | last post by:
Hi all, Quick question about using SSL... I am running PHP/MySQL/Apache, and currently am just using session variables to log users in. Obviously I would like to make this more secure, i.e. in conjunction with SSL, BUT I remember hearing awhile back that using SSL drastically cuts down the number of users a server can handle, and/or slows all accesses down, I would assume because of the whole encryption/decryption process. Is this...
5
3492
by: Robin Tucker | last post by:
I'm looking for a simple way of telling (inside a stored procedure) if I'm currently using MSDE or a full SQL server. Ideally, there is some pre-defined environment variable that won't cause me too much overhead. The reason I'm doing this is because my system "rolls over" databases when it reaches the 2Gb limit with MSDE, but obviously I want to avoid this overhead if the user installs onto a full SQL server instance. Thanks
2
1965
by: UnixSlaxer | last post by:
Hello, - Is any body aware of a random workload/query generator such as the TPC-H query generator (QGEN) ? I am looking for a query generator that takes a schema as an input, and produces several queries. I need it mainly for performance evaluation. the generator I am looking for should produce SELECT queries, including joins, and not only INSERT INTO, DELETE, UPDATE queries such as the "SqlQueryGenerator" at...
0
4534
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
8
4363
by: cjshea | last post by:
Hi, no point in trying to be eloquent with a question like this. If a client met with me and told me of an application he wants to have changed over to DB2 as a database backend, or perhaps it could be a new application with well predicted volumes of transactions and data, is there a tool in the DB2 repertoire that I could feed parameters into, ie no. of transactions per minute, data volumes, number of tables, ... and this tool would...
2
6944
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
12
2511
by: Caffiend | last post by:
I've been fooling around with large numbers for a little while, and seeing how slow my laptop is calculating prime numbers above 10^8, have been wishing I had a dedicated machine to crunch numbers... If I have the concept somewhat right, supercomputers essentially are clusters of CPUs on purpose-made motherboards all linked together to share workload. Obviously such a machine is out of the question, but I do know that there are dual-processor...
14
2645
by: Guillermo_Lopez | last post by:
Hello, Our company has developed several Access applications for our clients and we wish to expand to use a database server. We wish to use Access as the front end application and SQL Server 2005 as the back end Databes Server. Making a Server-Client application database. I'm very new to SQL Server so my concern is how the licensing works for a developer like us. I am aware that we can purchase the Developer edition for $49 USD. Our...
0
8272
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8514
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7206
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6126
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4208
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2632
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.