Explain the differences between Server-side and Client-side
code?
Answer Posted / 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 |
Post New Answer View All Answers
Which is better union or union all?
To wrap up a call to a Web service the standard used is..?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
Which control has default post back is enabled(true)?
What is globalization and localization in asp net?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
Is it right that ASP.NET Web API has replaced WCF?
What’s the difference between asp.net web forms and asp.net mvc?
Define the types of configuration files.
How can we implement a identity (sql server) call in an asp.net page?
How can we access static variable?
what is silver light when will we use silver light,
Why viewstate is used in asp.net?
Define globalization and localization.