GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Next Question 
 ASP.NET 2.0  |  Question 1 of 160    Print  
Explain the differences between Server-side and Client-side code?

  
Total Answers and Comments: 13 Last Update: October 19, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Jatinder Singh Rana
 
Server side code get executed on the web server in the response of request for any aspx page 
where client-side code get executed on the client browser (e.g validation of controls, dynamically hidding and displaying some of controls or there values etc)

Above answer was rated as good by the following members:
shramika.kanekar
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
August 08, 2005 03:30:05   #1  
Jatinder Singh Rana        

RE: Explain the differences between Server-side and Client-side code?
Server side code get executed on the web server in the response of request for any aspx page
where client-side code get executed on the client browser (e.g validation of controls dynamically hidding and displaying some of controls or there values etc)

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 08, 2005 15:27:03   #2  
AMARESH        

RE: Explain the differences between Server-side and Client-side code?
what is the disadvantages of interface?[
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 01, 2005 15:29:23   #3  
Anil        

RE: Explain the differences between Server-side and Client-side code?
Client side code will be in javascipt or vb sciprt and will execute only in the clients machine and not on the web server. (validations client side is example for this)

Sever side code will get executed on webserver. These will consume the servers memory.Code behind is example for this.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 06, 2005 06:36:05   #4  
roo        

RE: Explain the differences between Server-side and Client-side code?
very good
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
September 12, 2005 07:59:07   #5  
Prashanthgajra Member Since: September 2005   Contribution: 2    

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

Server side code is executed at the server and written in VB Code whereas client side code is executed at the client side. Mostly client side coding is done in Javascrit.

The reason why we do client side validations is to save the to and fro time taken for the request to go to the server and the response to get back to the browser.


 
Is this answer useful? Yes | No
October 07, 2005 03:49:41   #6  
Sudhakar Leo        

RE: Explain the differences between Server-side and Cl...
Server Side Code : It is written in the .CS file for C# and .vb file for VB.Net and the Code is executed in the Server sideClient Side Code : it is a scripting language that can be included in the HTML Page or can contain in the Source File either .vb or .cs and it is executed in the Browser
 
Is this answer useful? Yes | No
October 11, 2005 06:34:09   #7  
Bhanu        

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


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
November 17, 2005 06:45:06   #8  
priyanka        

RE: Explain the differences between Server-side and Cl...
GTHR
 
Is this answer useful? Yes | No
April 16, 2007 07:44:45   #9  
Mukesh        

RE: Explain the differences between Server-side and Cl...
Server side scripting(whatever the language it may be i.e. VB.NET C# ASP etc) will always run on server side and create roundtrip on server but in case of client side scpripting it will always run on client side(mainly used for information or control validation).As it runs on client's brower it does not create any roundtrip to the server.Javascript is a popular clientside scripting language.
 
Is this answer useful? Yes | No
November 29, 2007 01:27:59   #10  
vipul_shah2006 Member Since: November 2007   Contribution: 1    

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

The difference between server side and client side code is that server side
code is always process by server whereas client side code is executed by client
side script or to be precise client side browser.

If we want to access server side database or files we will have to use server
side code and if we want to handle client side validation we will have to use
client side code.

The common script used for client side script is JavaScript. whereas for server
side code the common script is VBScript.

Client side code validate the data before sending it to server. Where as server
side code validate data to check whether sent data is correct or not.


 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape