Explain the differences between Server-side and Client-side
code?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between client-side and server-side validations in webpages?
Elaborate differentiation between Cache and Application?
Write a code for sending an email from asp.net application.
Why is the standalone environment only useful during the development process?
What are the asp.net server side objects?
What is the use of express session?
Can we store object in viewstate?
How does exception management works in ASP.NET?
What are the security types in ASP/ASP.NET? Different Authentication modes?
What is cross page posting? How is it done?
Which namespace is used by ado.net?
What are the event handlers that we can have in global.asax file?
What is the maximum number of classes that can be contained in one dll file?
Differentiate the session object and application object?
How to implement Authentication and Authorization?