Thursday, August 18, 2011

Important Questions

1.What important standard is used to connect client browsers with web servers ?
Ans:TCP/IP
2.What ASP.NET object is used to get information about the web servers ?
Ans:The Server object
3.What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time ?
Ans:Lock() and UnLock()
4.When an ASP.NET server control is added to a Web Form, Visual Studio .NET adds one item to the class for the form. What item is added ?
Ans:A default event handler for the click event
5.What HTML element is the asp:Label control rendered as when the target is Internet Explorer ?
Ans:Span
6.What is the Web.config file used for ?
Ans:To store the global information and variable definitions for the application
7. After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?
Ans:The AutomaticPostBack attribute is set to False
8.What method must be overridden in a custom control ?
Ans:The render method
9.Can two different .net programming languages be mixed in a single ASPX file ?
Ans:No
10.How to protect view state from tampering when it's passed over an unencrypted channel ?
Ans:In Page directive set EnableViewStateMac="true"

No comments:

Post a Comment