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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define satellite assemblies.

584


Less than one page, how many windows will you be able to maintain?

561


Which protocol is used to call a web service?

558


What is ascx?

525


What is asp.net file?

629






Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1610


Explain the function of new view engine in asp.net? : asp.net mvc

513


Which is better union or union all?

555


What is the difference between mvc and asp.net? : Asp.Net MVC

472


What is ispostback method in asp.net? Why do we use that?

568


To add a hyperlink column to the DataGrid which tag is used ?

577


Explain the concept of MVC Scaffolding?

584


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

561


What is Model-View-View Model?

603


What is a windows service?

553