Explain the differences between Server-side and Client-side
code?
Answers were Sorted based on User's Feedback
Answer / sudhanshu
Server side code executes on the server.For this to occur page has to be submitted or posted back.Events fired by the controls are executed on the server.Client side code executes in the browser of the client without submitting the page.
e.g. In ASP.NET for webcontrols like asp:button the click event of the button is executed on the server hence the event handler for the same in a part of the code-behind (server-side code). Along the server-side code events one can also attach client side events which are executed in the clients browser i.e. javascript events.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bhim bharti
Server side scripting means that all the script will be executed by the server and interpreted as needed. ASP doesn't have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usually in VB or VC++. Client side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript. Download time, browser compatibility, and visible code - since JavaScript and VBScript code is included in the HTML page, then anyone can see the code by viewing the page source. Also a possible security hazards for the client computer.
| Is This Answer Correct ? | 0 Yes | 0 No |
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
How many rounds are there for a software programmer to clear interview in any IT industries(MNC).
How can u sort strings in array where strings are passed to method as arguments.
What is the need of client side and server side validation ?
on modify statement, executeNonQuery returns zero rows affected even though there has been modification carried out sucessfully in the table.. can anyone tell me is this possible??? if yes, how..???
Life cycle of ASP.NET page when a request is made ?
What is role-based security in asp.net?
what is diference between the .net1.0 & .net2.0 ?
How to create a permanent cookie?
What is the difference between typeof() vs gettype()?
i cant get Primary output selection from the Dialog box While Creating Setup and Deployment the web application how to solve it..
What is a multilingual website?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)