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
Differentiate between a hyperlink control and a linkbutton control.
What are cookies in your browser?
What are the types of validation in asp net?
What is the meaning of TestApi?
Define page output caching?
What is a swagger in web api?
How can we identify that the page is post back in asp net?
What is a reflection?
Is data edited in the Repeater control?
What is a session government?
What are the ways of preserving data on a Web Form in ASP.NET?
Explain what is viewstate?
How about the security in Activex DLL and Activex EXE ?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
Explain the difference between server control and html control.