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
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
What is web api and why to use it?
How can we Validate a Controls in ASP.NET page using JavaScript?
What is the difference between “Web.config” and “Machine.Config”?
Which is faster viewbag or viewdata?
Explain about secure socket layer?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
What is a reflection?
What is the default Orientation property in a Menu control?
Describe the master page.
What is a query string in a url?
Give some salient points of difference between request processor and request dispatcher.
Explain about consistent programming model in the .NET framework?
Can you clarified A Web service can only be written in .NET or not?
Difference between response.redirect and server.transfer?