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 best way to search any exact information on google?

3 Answers   Intellevate,


Where does Web.Config Info stored? Will this be stored in the registry?

4 Answers   Accenture,


What is the use of dispose method?

0 Answers  


State Management (viewstate, session etc)

2 Answers   Syntel,


What are the contents of cookie?

0 Answers  






In Code-Behind class which kind of code (server or client) is found ?

0 Answers   Siebel,


How can I configure asp.net applications that are running on a remote machine?

0 Answers  


what is Disco?what it will do?

2 Answers   Microsoft,


What is the difference between dispose() and finalize()?

0 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


One Listbox showing all cities. If you select one city in list box the information related to that particular city should be displayed in Datagrid . How do you do that?

3 Answers   HCL,


What is client side state management?

0 Answers  


Categories