Explain the differences between Server-side and Client-side
code?
Answer Posted / sateesh kumar
Server-side code executes at server-side like asp.net server
controls and server validation controls
client-side means all the code will be executed by web
browser like all the validation will be executes by browser
using javascript.
only the differance comes in performance
1.if u place a RegularExpressionValidator it results a
request and obviously server has to send response.
2.only the advantage with server-side is,no need of writing
javascript statements and no need to bather from malicious
attacks on the source code.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
How long the items in ViewState exists?
Differentiate between globalization and localization.
What is active web page?
Explain asp.net application life cycle?
How do you identify that the page is postback?
Describe the .net base class library.
What are the events in a page life cycle?
What is asp.net web pages?
What is autopost?
What is difference between asp state management and asp.net state management?
Explain the different types of directives in .net?
Why is global asax is used?
Do you know using sql cache invalidation?
Explain how cookies work. Give an example of cookie abuse.
What is httpresponse?