Explain the differences between Server-side and Client-side
code?

Answers were Sorted based on User's Feedback



Explain the differences between Server-side and Client-side code?..

Answer / srujana

Server-side code runs on the server. Client-side code runs
in the clients? browser.

Is This Answer Correct ?    84 Yes 5 No

Explain the differences between Server-side and Client-side code?..

Answer / tiger skumar

Server side validation can be done on server side controls
using server controls.
But Client side validation can be done at browser.

The control validation can be done at client browser instead
of server side validation.Because its additional overhead to
the server.

For example,Mandatatory fields checking.It can be done at
client browser.No need at server side.

But the login and password must be validate at server side.

The client side validation can be done using the Javascript
or vb script.

Is This Answer Correct ?    53 Yes 7 No

Explain the differences between Server-side and Client-side code?..

Answer / madhu babu mallidi

Server Side Code
Server side is the code that resides at web server.
For every client request code is executed at server side
and result is send to the client in simple HTML format.
Performance is lower than client side code due to server
round trips.
Client cannot see the business logic though it is stored on
server.

Client Side Code
Client side code is reside at client's browser itself. It
is executed at client side only. User can easily see the
code by View - > Source option.
It is generally used in validation form like text field is
empty or not, email address validation etc. It is faster
than server side code.

server side code is responsible to execute and provide the
executed code to the browser at the client side. the
executed code may be either in XML or Plain HTML. the
executed code only have the values or the results that are
executed on the server. The clients browser executes the
HTML code and displays the result.

where as the client side code executes at client side and
displays the result in its browser. it the client side core
consist of certain functions that are to be executed on
server then it places request to the server and the server
responses as the result in form of HTML.

Is This Answer Correct ?    25 Yes 2 No

Explain the differences between Server-side and Client-side code?..

Answer / satya

Control or object created by browser is called client side
control

control or object created by server[web server] is called
server side
control

Is This Answer Correct ?    18 Yes 8 No

Explain the differences between Server-side and Client-side code?..

Answer / ajay

server side code executes on server side while client side
code executes on client side

Is This Answer Correct ?    10 Yes 1 No

Explain the differences between Server-side and Client-side code?..

Answer / k.senthil kumar

Server side code executes on the server.Client side Code
Executes on the client Browser.

Is This Answer Correct ?    9 Yes 2 No

Explain the differences between Server-side and Client-side code?..

Answer / sateesh kumar

Server-side code executes at server-side like asp.net server
controls and server validation controls

client-side means all the code will be executed by web
browser like all the validation will be executes by browser
using javascript.

only the differance comes in performance
1.if u place a RegularExpressionValidator it results a
request and obviously server has to send response.

2.only the advantage with server-side is,no need of writing
javascript statements and no need to bather from malicious
attacks on the source code.

Is This Answer Correct ?    6 Yes 3 No

Explain the differences between Server-side and Client-side code?..

Answer / parth chowdhury

Server side validation can be done in XML or in HTML itself

While, Client side validation should be done by using
Javascript or Jquery but it should be processed before
submitting the form.

Is This Answer Correct ?    2 Yes 0 No

Explain the differences between Server-side and Client-side code?..

Answer / manisha

Client-side is faster than server-side as the networking
time from client to server is saved
server-side is done on the server. Then the server converts
the data into an html page and sends to the browser.
server-side is more secure as the user cannot see the code
even he does a view-source.

________________________________________
Client side validation is processed the client side before
submitting the form. The advantage of using the client side
validation is it reduces the netork trafiic since the
validation is processed in the client machine itself. Eg
email isnumeric isdate etc.

Server side validation is processed in the server. Some data
cannot be validated in the client side and it has to be
validated in the server side. Eg Date between the two dates
in the database.

Is This Answer Correct ?    3 Yes 2 No

Explain the differences between Server-side and Client-side code?..

Answer / sandeep kumar

Client side validation validate on the browser but server side validation validate on the server.

Client side validation is faster than server side validation.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

what is the advantage of data reader?

2 Answers  


What is the significance of ASP.NET routing?

0 Answers   NA,


What is the use of HttpHandlers? When to use this?

0 Answers   Wipro,


Why select Web API?

0 Answers  


How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


How do you get records number from 5 to 15 from a dataset of 100 records?

3 Answers   Syntax Softtech,


Define ViewState and how can it be used?

6 Answers   Siebel,


Differentiate between early binding and late binding.

0 Answers  


What is Forms Authentication in ASP.NET?

0 Answers  


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

0 Answers  


Types of values mode can hold session state in Web.Config?

6 Answers   Accenture,


One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


Categories