Saturday, February 16, 2008

Most Recent Asked Interview Questions

1.What is Server Variables collection?
2.What’s the difference between Response.Write() andResponse.Output.Write()?
3.What methods are fired during the page load?
4.Where does the Web page belong in the .NET Framework class hierarchy?
5.Where do you store the information about the user’s locale?
6.What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
7.What’s a bubbled event?
8.Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
9.What data type does the RangeValidator control support?
10.Explain the differences between Server-side and Client-side code?
11.What type of code (server or client) is found in a Code-Behind class?
12.Should validation (did the user enter a real date) occur server-side or client-side?
13.What does the "EnableViewState" property do? Why would I want it on or off?
14.What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
15.Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
16.Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
17.If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?
18.Can you explain what inheritance is and an example of when you might use it?
19.Whats an assembly?
20.Describe the difference between inline and code behind.
21.Explain what a diffgram is, and a good use for one?
22.Whats MSIL, and why should my developers need an appreciation of it if at all?
23.Which method do you invoke on the DataAdapter control to load your generated dataset with data?
24.Can you edit data in the Repeater control?
25.Which template must you provide, in order to display data in a Repeater control?
26.How can you provide an alternating color scheme in a Repeater control?
27.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?
28.What base class do all Web Forms inherit from?
29.Name two properties common in every validation control?
30.What tags do you need to add within the asp:datagrid tags to bind columns manually?
31.What tag do you use to add a hyperlink column to the DataGrid?
32.What is the transport protocol you use to call a Web service?
33.True or False: A Web service can only be written in .NET?
34.Where on the Internet would you look for Web services?
35.Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?