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

What is state management techniques in asp.net?

744


How will you do Redo and Undo in a TextControl?

858


Explain the path instructions in xaml?

755


Do you support digital rights management to protect my videos?

627


Which tool you have done?

1653


Describe state management in asp.net?

762


Define a web service in .net?

819


What is the used of "ispostback" property?

781


i want the asp.net technical questions and answeres

1795


Is razor a programming language?

707


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

741


What is rich control in asp.net?

722


What can you do with asp.net?

689


What’s difference between “optimistic” and “pessimistic” locking?

791


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

738