Discover the World of .NET Interview Questions

       Skip Navigation Links
      Ajax  
      Security  
      C#  
      ASP.NET
      OOPs 
      .NET Framework
      ADO.NET
      100 Short Question-Answers
      Difference between Questions
      .NET Acronyms

    SQL Connection Strings
    SqlConnect


    My Archived Sites Moredotnet
    Aspnetinfo


    Groups
    Click here to join dotnetuncle
    Click to join dotnetuncle


    Forums


    Dotnet Resources
    Useful Sites

    How to Crack Phone Interviews
    How to Crack Phone Interviews






    bookmark dotnetUncle.com
    NEW NEW NEW!!!

    ASP.NET AJAX INTERVIEW QUESTIONS

    Q1 - What is AJAX?
    Q2 - Can Ajax be implemented in browsers that do not support the XmlHttpRequest object?
    Q3 - Can AJAX technology work on web servers other than IIS?
    Q4 - Which browsers support the XmlHttpRequest object?
    Q5 - How to we create an XmlHttpRequest object for Internet Explorer? How is this different for other browsers?
    Q6 - What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax?
    Q7 - What is the ASP.NET Ajax Framework? What versions have been released so far?
    Q8 - What are Ajax Extensions?
    Q9 - What is the ASP.NET Control Toolkit?
    Q10 - What is Dojo?
    Q11 - How to handle multiple or concurrent requests in Ajax?
    Q12 - How to create an AJAX website using Visual Studio?
    Q13 - What is the role of ScriptManager in Ajax?
    Q14 - Can we override the EnablePartialRendering property of the ScriptManager class?
    Q15 - How to use multiple ScriptManager controls in a web page?
    Q16 - Whats the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?
    Q17 - What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
    Q18 - What is an UpdatePanel Control?
    Q19 - What are the modes of updation in an UpdatePanel? What are Triggers of an UpdatePanel?
    Q20 - How to control how long an Ajax request may last?
    Q21 - What is ASP.NET Futures?
    Q22 - What are limitations of Ajax?
    Q23 - How to make sure that contents of an UpdatePanel update only when a partial postback takes place (and not on a full postback)?
    Q24 - How to trigger a postback on an UpdatePanel from Javascript?
    Q25 - Which request is better with AJAX, Get or Post?

    ASP.NET Security Questions

    1 - Describe the security authentication process in aspnet
    2 - What is the Website Administrative Tool in Visual Studio 2005?
    3 - What is Authentication in ASP.NET?
    4 - What is Authorization in ASP.NET?
    5 - What is IIS Metabase?
    6 - What is mixed mode Authentication in ASP.NET?
    7 - What is Provider Model and Personalization in Aspnet 2.0?

    The World of Difference!

    1 - Classic ASP and ASP.NET
    2 - ADO and ADO.NET
    3 - Structure, Class and Enum
    4 - Abstract Class and Interface
    5 - Public, Private, Protected, Friend and Internal
    6 - Overriding and Shadowing
    7 - Class and Object
    8 - Shared and Static
    9 - Value Type and Reference Type
    10 - MSIL and CIL
    11 - DLL and EXE
    12 - Class Library and Namespace
    13 - String and StringBuilder
    14 - Web Service and Remoting
    15 - Public Assembly and Private Assembly
    16 - Trace and Debug
    17 - Server.Transfer and Response.Redirect
    18 - Server.Transfer and Server.Execute
    19 - Authentication and Authorization
    20 - ExecuteScalar and ExecuteNonQuery
    21 - DataReader and DataSet
    22 - System.Array.CopyTo and System.Array.Clone
    23 - Thread and Process

    OOPs Unleashed!!!

    1 - What is OOPS?
    2 - What is a Class? Base class?
    3 - What do you mean by Encapsulation?
    4 - What do you mean by Inheritance?
    5 - What is a Class member? What is an object?
    6 - What do you mean by Polymorphism?
    7 - What is a property? What is an event?
    8 - What is an access modifier? Different types of access modifiers?
    9 - What is Overloading? Overloads, Overload?
    10 - What is the shared keyword used for? What is static?
    11 - What is the virtual keyword used for?
    12 - Explain overridable, overrides, notoverridable,mustoverride
    13 - What is the shadowing in .NET? What is shadows keyword used for?
    14 - What is a constructor? Explain the new keyword. Whats a private constructor?
    15 - What is a static constructor?
    16 - Explain serialization in .NET? What is serializable attribute used for?
    17 - What is a delegate? Whats a Multicast Delegate
    18 - What is an abstract class? Why do we use it?
    19 - What is an interface? When & how do we implement it?
    20 - Is multiple inheritance possible in .NET?

    .NET Framework Explored!

    1 - What is .NET?
    2 - Which languages can be used to program for .NET?
    3 - Which versions of .NET have been released so far?
    4 - What tools can be used for .NET Development?
    5 - Explain CLI, CIL, CTS, Metadata, CLS, IL and VES in .NET
    6 - What is CLR in .NET?
    7 - What is a class library in .NET?
    8 - Explain managed code, managed data, managed class in .NET
    9 - What is an assembly in .NET? What is ILDASM?
    10 - What is Reflection?
    11 - What are the different types of assemblies in .NET? Satellite assembly?
    12 - How do we share an assembly in .NET? How do we make it strongly named? SN.EXE?
    13 - In .NET, what is GAC?
    14 - Can the Garbage Collector control activities of a thread in .NET?
    15 - For what do we use the IDisposable interface in .NET?
    16 - What is Serialization in .NET? SoapFormatter, BinaryFormatter, XmlFormatter?
    17 - What is CAS in .NET?
    18 - What is a class attribute?
    19 - What is a thread? How do we create and a thread in .NET?
    20 - What is globalization in .NET?
    21 - What are generations in .NET?
    22 - How to use COM components in .NET?

    Most Wanted in ASP.NET!

    1 - How to redirect a user to a new page in ASP.NET?
    2 - How to pass values between pages in ASP.NET?
    3 - What is the role of the ASP.NET worker process in ASP.NET?
    4 - Explain the page life cycle in ASP.NET 1.1 & 2.0
    5 - How to store global variables in ASP.NET Web Form applications?
    6 - How to store values between postbacks in ASP.NET?
    7 - What is a server control in ASP.NET?
    8 - What is a viewstate in ASP.NET?
    9 - How to send an email using ASP.NET?
    10 - Which namespace does a webpage belong in .NET?
    11 - How to store information about a user's locale in an ASP.NET Web Application?
    12 - How to add an event handler for a server control in ASP.NET?
    13 - What are validation controls in .NET? How do validation controls work?
    14 - What is global.asax in ASP.NET? Application_start, Session_start?
    15 - What is an HTTP handler? Can we use it to upload files?
    16 - What is a session in ASP.NET? Different ways to maintain session?
    17 - What is the @Register directive used for? Web User Controls in ASP.NET?
    18 - What is a cookie? Limitations of cookie? Permanent cookie? Cookies in ASP.NET
    19 - How to implement a web farm and a web garden in ASP.NET?
    20 - Can dataset be stored in a viewstate?
    21 - How to set view state for a server control? Enableviewstate property?
    22 - What is smart navigation in ASP.NET?

    The C# Ocean!

    1 - Describe the accessibility modifier "protected internal"
    2 - Can multiple data types be stored in System.Array in .NET?
    3 - How to sort array elements in descending order in .NET?
    4 - Whats the use of "throw" keyword in .NET?
    5 - Can we put multiple catch blocks in a single try statement in C#?
    6 - How to achieve polymorphism in C#?
    7 - How to achieve inheritance in C#?
    8 - Compare Session state and Viewstate?
    9 - How to add gridview/datagrid columns manually? Autogenerate in ASP.NET?
    10 - How to add a ReadOnly property in C#?
    11 - How to prevent a class from being inherited? Sealed in C#?
    12 - In C#, How to inherit the class, but not the method inside it?
    13 - Can we inherit multiple interfaces in .NET?
    14 - What are the different ways a method can be overloaded in .NET?
    15 - How to call a specific base constructor?
    16 - What are generics in C#?
    17 - What is the use of the main() function in C#?
    18 - Are C# Keywords in lowercase or uppercase?
    19 - What is the use of Console.Readline() in C#?
    20 - Can we set the specifier of the main() method in C# as private?
    21 - Can we set different types of parameters & return-types in main() method
    22 - What is the use of GetCommandLineArgs() method
    23 - What is the use of System.Environment class?
    24 - Why is the new keyword used for instantiating an object in .NET?
    25 - Default values of bool, int, double, string, char, reference-types?
    26 - Why does the compiler throw an error when variables are declared with initial value?
    27 - How to declare a constant variable in C#?
    28 - In C#, can we create an object of reference type using const keyword
    29 - What is the difference between const and readonly in C#?
    30 - What are the different parameter modifiers available in C#
    31 - What is the difference between out and ref in C#?

    ADO.NET - Behind the scenes!

    1 - What is ADO.NET?
    2 - Whats a connection object in .NET? How to connect to a database?
    3 - What is a command object? How to use a command object in ADO.NET?
    4 - What is SelectCommand in ADO.NET?
    5 - What is a SqlCommandBuilder in ADO.NET?
    6 - What is a DataView in ADO.NET?
    7 - How to use a DataRelation between two columns using ADO.NET?
    8 - What is Diffgram? When do we use Diffgram in ADO.NET?
    9 - What is a Typed Dataset? Why do we use a Typed DataSet using ADO.NET?
    10 - How to run a Stored Procedure from .NET code?

    100 Short-Answer Interview Questions

    Q1. Explain the differences between Server-side and Client-side code?
    Q2. What type of code (server or client) is found in a Code-Behind class?
    Q3. How to make sure that value is entered in an asp:Textbox control?
    Q4. Which property of a validation control is used to associate it with a server control on that page?
    Q5. How would you implement inheritance using VB.NET & C#?
    Q6. Which method is invoked on the DataAdapter control to load the generated dataset with data?
    Q7. What method is used to explicitly kill a user's session?
    Q8. What property within the asp:gridview control is changed to bind columns manually?
    Q9. Which method is used to redirect the user to another page without performing a round trip to the client?
    Q10. How do we use different versions of private assemblies in same application without re-build?

    Q11. Is it possible to debug java-script in .NET IDE? If yes, how?
    Q12. How many ways can we maintain the state of a page?
    Q13. What is the use of a multicast delegate?
    Q14. What is the use of a private constructor?
    Q15. What is the use of Singleton pattern?
    Q16. When do we use a DOM parser and when do we use a SAX parser?
    Q17. Will the finally block be executed if an exception has not occurred?
    Q18. What is a Dataset?
    Q19. Is XML a case-sensitive markup language?
    Q20. What is an .ashx file?

    Q21. What is encapsulation?
    Q22. What is Overloading?
    Q23. What is Overriding?
    Q24. What is a Delegate?
    Q25. Is String a Reference Type or Value Type in .NET?
    Q26. What is a Satellite Assembly?
    Q27. What are the different types of assemblies and what is their use?
    Q28. Are MSIL and CIL the same thing?
    Q29. What is the base class of all web forms?
    Q30. How to add a client side event to a server control?

    Q31. How to register a client side script from code-behind?
    Q32. Can a single .NET DLL contain multiple classes?
    Q33. What is DLL Hell?
    Q34. can we put a break statement in a finally block?
    Q35. What is a CompositeControl in .NET?
    Q36. Which control in asp.net is used to display data from an xml file and then displayed using XSLT?
    Q37. Can we run ASP.NET 1.1 application and ASP.NET 2.0 application on the same computer?
    Q38. What are the new features in .NET 2.0?
    Q39. Can we pop a MessageBox in a web application?
    Q40. What is managed data?

    Q41. How to instruct the garbage collector to collect unreferenced data?
    Q42. How can we set the Focus on a control in ASP.NET?
    Q43. What are Partial Classes in Asp.Net 2.0?
    Q44. How to set the default button on a Web Form?
    Q45.Can we force the garbage collector to run?
    Q46. What is Boxing and Unboxing?
    Q47. What is Code Access security? What is CAS in .NET?
    Q48. What is Multi-tasking?
    Q49. What is Multi-threading?
    Q50. What is a Thread?

    Q51. What does AddressOf in VB.NET operator do?
    Q52. How to refer to the current thread of a method in .NET?
    Q53. How to pause the execution of a thread in .NET?
    Q54. How can we force a thread to sleep for an infinite period?
    Q55. What is Suspend and Resume in .NET Threading?
    Q56. How can we prevent a deadlock in .Net threading?
    Q57. What is Ajax?
    Q58. What is XmlHttpRequest in Ajax?
    Q59. What are the different modes of storing an ASP.NET session?
    Q60. What is a delegate in .NET?

    Q61. Is a delegate a type-safe functions pointer?
    Q62. What is the return type of an event in .NET?
    Q63. Is it possible to specify an access specifier to an event in .NET?
    Q64. Is it possible to create a shared event in .NET?
    Q65. How to prevent overriding of a class in .NET?
    Q66. How to prevent inheritance of a class in .NET?
    Q67. What is the purpose of the MustInherit keyword in VB.NET?
    Q68. What is the access modifier of a member function of in an Interface created in .NET?
    Q69. What does the virtual keyword in C# mean?
    Q70. How to create a new unique ID for a control?

    Q71A. What is a HashTable in .NET?
    Q71B. What is an ArrayList in .NET?
    Q72. What is the value of the first item in an Enum? 0 or 1?
    Q73. Can we achieve operator overloading in VB.NET?
    Q74. What is the use of Finalize method in .NET?
    Q75. How do you save all the data in a dataset in .NET?
    Q76. Is there a way to suppress the finalize process inside the garbage collector forcibly in .NET?
    Q77. What is the use of the dispose() method in .NET?
    Q78. Is it possible to have have different access modifiers on the get and set methods of a property in .NET?
    Q79. In .NET, is it possible for two catch blocks to be executed in one go?
    Q80. I there any difference between System.String and System.StringBuilder classes?

    Q81. What technique is used to figure out that the page request is a postback?
    Q82. Which event of the ASP.NET page life cycle completely loads all the controls on the web page?
    Q83. How is ViewState information persisted across postbacks in an ASP.NET webpage?
    Q84. What is the ValidationSummary control in ASP.NET used for?
    Q85. What is AutoPostBack feature in ASP.NET?
    Q86. What is the difference between Web.config and Machine.Config in .NET?
    Q87. What is the difference between a session object and an application object?
    Q88. Which control has a faster performance, Repeater or Datalist?
    Q89. Which control has a faster performance, Datagrid or Datalist?
    Q90. How to we add customized columns in a Gridview in ASP.NET?

    Q91. Is it possible to stop the clientside validation of an entire page?
    Q92. Is it possible to disable client side script in validators?
    Q93. How do we enable tracing in .NET applications?
    Q94. How to kill a user session in ASP.NET?
    Q95. Is it possible to perform forms authentication with cookies disabled on a browser?
    Q96. What are the steps to use a checkbox in a gridview?
    Q97. What are design patterns in .NET?
    Q98. What is difference between dataset and datareader in ADO.NET?
    Q99. Can connection strings be stored in web.config?
    Q100. Whats the difference between web.config and app.config?




    © 2007-2008 - dotnetUncle.com - All Rights Reserved.  | Contact Me  | Add this page to favorites  | Email this page
     | Copyright & Privacy Statement