Tuesday, 28 March 2017

99 Most Popular ASP.Net Interview Questions and Answers

ASP.NET Interview Questions and Answers [ADO.NET]

ASP.NET is part of .NET framework that is used to build dynamic web applications and web services in any .NET language.

  1. What is ASP.Net?
  2. What are the different events which fire during page life cycle?
  3. In which event are the controls fully loaded?
  4. Where is View State information stored?
  5. How to disable client side script in validators?
  6. What is the difference between “Web.config” and “Machine.Config”?
  7. What are the various ways of authentication techniques in ASP.NET?
  8. How to decide on the design consideration to take a Data grid, data list, or repeater?
  9. Can you explain master pages concept in ASP.NET?
  10. Explain the differences between Server-side and Client-side code?
  11. Can you explain the concept of trace listener?
  12. Can you show a simple code showing file dependency in cache?
  13. Which are the various modes of storing ASP.NET session?
  14. How do we ensure viewstate is not tampered?
  15. What is Absolute and Sliding expiration?
  16. Why do you need methods to be static for Post Cache substitution?
  17. Can you explain ASP.NET application life cycle?
  18. How can we identify that the Page is Post Back?
  19. How do you write a Httphandler ?
  20. If client side validation is enabled, will server side code still run?
  21. What is the use of “GLOBAL.ASAX” file?
  22. What is the difference between ‘Server.Transfer’ and ‘response.Redirect’ ?
  23. What is the method to customize columns in Data Grid?
  24. How can we do single sign on in ASP.NET?
  25. ASP used STA threading model, what is the threading model used for ASP.NET.
  26. How do you enable tracing in on an ASP.NET page?
  27. How can get access to cache object?
  28. How will implement Page Fragment Caching?
  29. What are benefits and Limitation of using Hidden fields?
  30. What are benefits and limitations of using Cookies?
  31. How do we enable SQL Cache Dependency in ASP.NET 2.0?
  32. What is the use of "@Register" directives?
  33. How can you create custom controls in ASP.NET?
  34. If a validation is very complex what will you do?
  35. What is SESSION and APPLICATION object?
  36. What are partial classes in ASP.NET ?
  37. How do I sign out in forms authentication?
  38. How do you upload a file in ASP.NET?
  39. What is the difference between “Web farms” and “Web garden”?
  40. What is an application object?
  41. What is scavenging?
  42. Is Session_End event supported in all session modes?
  43. What are benefits and Limitation of using Viewstate for state management?
  44. How do we access viewstate value of the current page in the next page ?
  45. In .NET 1.X how was the encryption implemented for config files?
  46. What is the use of Smart Navigation property?
  47. How many types of validation controls are provided by ASP.NET?
  48. Can you explain “AutoPostBack”?
  49. What is impersonation in ASP.NET?
  50. What is difference between Grid view, Data list, and repeater?
  51. How do we implement windows authentication?
  52. What are different IIS isolation levels?
  53. What’s the difference between trace and debug in ASP.NET?
  54. What is the difference between Cache object and application object?
  55. How can you cache different version of same page using ASP.NET cache object?
  56. What are the other ways you can maintain state?
  57. What are benefits and limitations of using Hidden frames?
  58. What is SQL Cache Dependency in ASP.NET 2.0?
  59. How did you deployment and setup in ASP.NET ?
  60. What are HttpModules and Httphandlers?
  61. What is AppSetting Section in “Web.Config” file?
  62. Which JavaScript file is referenced for validating the validators at the client side?
  63. How can you enable automatic paging in Data Grid?
  64. What is the concept of Web parts?
  65. Can you explain Forms authentication in detail?
  66. So how do you create master pages?
  67. How to use a checkbox in a data grid?
  68. What are trace switches?
  69. What is Cache Callback in Cache?
  70. Does session use cookies?
  71. Does the performance for viewstate vary according to User controls?
  72. What is cross page posting?
  73. How do we encrypt web.config files in ASP.NET?
  74. What is the difference between HttpModules and Httphandlers?
  75. How can we force all the validation control to run?
  76. How can I show the entire validation error message in a message box on the client side?
  77. How can we kill a user session?
  78. What is the difference between data grid and grid view?
  79. If cookies are disabled how will forms authentication work?
  80. How do I send email message from ASP.NET?
  81. How do we configure “Web Garden”?
  82. What is the use of cache object?
  83. What are different types of caching using cache object of ASP.NET?
  84. Where do you specify session state mode in ASP.NET?
  85. How can you use Hidden frames to cache client data ?
  86. Can we post and access view state in another ASP.NET page?
  87. How do you send an email using ASP.NET ?
  88. How do you write an HttpModule?
  89. How can we check if all the validation control is valid?
  90. What are major events in GLOBAL.ASAX file?
  91. What is the difference between Authentication and authorization?
  92. How can you format data inside Data Grid?
  93. Can you explain membership and role providers in ASP.Net 2.0?
  94. What is the use of <%@page aspcompat=true%> attribute?
  95. Which namespace is needed to implement debug and trace?
  96. What are dependencies in cache and types of dependencies?
  97. Can you compare ASP.NET sessions with classic ASP?
  98. What is ViewState?
  99. What is Query String and what are benefits and limitations of using Query Strings?
  100. What is Post Cache substitution?

No comments:

Post a Comment

Note: only a member of this blog may post a comment.