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


Please Help Members By Posting Answers For Below Questions

Can we have multiple web config files for an asp.net application?

531


What is x xss protection?

562


Can you nest updatepanel within each other?

548


How to find last error which occurred?

532


What is the difference between a multi-layer and multi-tier applications?

567






How can we create custom controls in asp net?

531


How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?

505


How information about the user's locale can be accessed?

581


Explain the advantages of caching?

527


What are the server controls in asp.net?

456


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

563


What is difference between cache and session?

494


Who generates session id?

486


What is enableviewstate?

532


What is a web api endpoint?

529