INTERVIEW-TECHNICAL PAPERS 

ASP.NET INTERVIEW QUESTIONS

Index Main ASP.NET1 ASP.NET-2 ASP.NET-3 ASP.NET-4 ASP.NET-5 Lets Take Break - BMW Specials

 



 




 


COMMON INTERVIEW QUESTIONS  by Dave Ranck

hudihudi.com          

Q. Explain the differences between Server-side and Client-side code?
A. Server-side code executes on the server. Client-side code executes in the context of the clients' browser.
hudihudi.com

Q. What are some ways to manage state in an ASP.Net application?
A. Session objects, Application objects, ViewState, cookies, hidden form fields.

hudihudi.com

Q. What does the "EnableViewState" property do? Why would I want it on or off?
A. It allows page objects to save their state in a Base64 encoded string in the page HTML. One should only have it enabled when needed because it adds to the page size and can get fairly large for complex pages with many controls. (It takes longer to download the page).

Q. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
A. Server.Transfer transfers excution directly to another page. Response.Redirect sends a response to the client and directs the client (the browser) to load the new page (it causes a roundtrip). If you don't need to execute code on the client, Transfer is more efficient.
hudihudi.com

Q. How can I maintain Session state in a Web Farm or Web Garden?
A. Use a State Server or SQL Server to store the session state.

Q. What base class do all Web Forms inherit from?
A. The Page class.
hudihudi.com

Q. What does WSDL stand for? What does it do?
A.(Web Services Description Language). It describes the interfaces and other information of a web service.

Q. Which  WebForm Validator control would you use if you needed to make sure the values in two different WebForm controls matched?
A. CompareValidator Control
hudihudi.com

Q. What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
A. You must set the DataSource property and call the DataBind method.
hudihudi.com

                                           - DAVE
                    hudihudi.com                                Back to top
 

 

 

Google
 
Web www.hudihudi.com



   

Any suggestions/ads/comments/question paper submissions please email to submit (at) hudihudi.(dot)com

www.hudihudi.com

Copyright © www.hudihudi.com