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
What are assemblies and namespaces and explain the difference between them ?
Can you change a Master Page dynamically at runtime?
Define common type system?
What are directives in asp.net? List down all the important directives.
What is query string in asp.net?
Explain server-side scripting?
How does the service stream content?
What is clr? Difference between clr & cts?
Explain what the contents of cookie?
List all templates of the repeater control.
Explain some of the major built-in objects in asp.net
What are all the various Estimation Techniques available ?
What do you mean by serialize?
Where session id is stored?
What is autopostback true?