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

How can we make sure that Web API returns JSON data only?

537


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

548


Explain managed code an un-managed code.

592


Explain a program using razor view engine to create a simple application? : asp.net mvc

493


What are the versions of garbage collection?

1456






Explain how can we inherit a static variable?

522


Where is http session stored?

499


What is considered a service provider?

515


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

627


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

649


Describe the difference between inline and code behind - which is best in a?

569


Describe paging in asp.net?

674


Explain about consistent programming model in the .NET framework?

589


what is silver light when will we use silver light,

1439


How to register exception filter globally?

578