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
Can we have multiple web config files for an asp.net application?
What is x xss protection?
Can you nest updatepanel within each other?
How to find last error which occurred?
What is the difference between a multi-layer and multi-tier applications?
How can we create custom controls in asp net?
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
How information about the user's locale can be accessed?
Explain the advantages of caching?
What are the server controls in asp.net?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
What is difference between cache and session?
Who generates session id?
What is enableviewstate?
What is a web api endpoint?