ASP.Net Interview questions
COMMON INTERVIEW QUESTIONS by Dave Ranck
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.
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 Controlhudihudi.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
Link to above post : http://www.freshersinterviewquestions.com/asp-net-interview-questions-2/