Microsoft Dot Net Master

Microsoft Dot Net Master
Microsoft Dot Net Master

Saturday, April 16, 2011

ASP.NET Interview Questions

While different interviewers may ask distinctive questions. So we have to drawn up a list of frequently asked asp.net interview questions. Read all the questions for success in the job interview.

1. What is ASP.NET?
2. What are the differences between ASP.NET and ASP?
3. Tell me ASP.NET versions list?
4. Which version is easy and stable according to you?
5. What are the best practices to follow to secure connection strings in an ASP.NET web application?
6. What is the advantage of storing an XML file in the applications App_Data folder?
7. What are the steps to follow to avoid Script Injection attacks?
8. What is the difference between Class And Interface?
9. Which method can be used to remove forms authentication cookie?
10. How can you control access to subfolders in a web application?
11. Is it possible to encrypt view state data of an aspx page?
12. What are Cookies in ASP.NET?
13. What is the difference between Session Cookies and Persistent Cookies?
14. Are Cookies secure?
15. How do you create a permanent cookie?
16. What is caching?
17. Give a simple example to show how to cache a web form without using @OutputCache directive?
18. What is HttpCachePolicy object’s SetAllowResponseInBrowserHistory method used for?
19. What is an HTTP Handler?
20. What is the difference between asynchronous and synchronous HTTP Handlers?
21. What is HTTP module?
22. Which class is responsible for receiving and forwarding a request to the appropriate HTTP handler?
23. What is the difference between HTTP modules and HTTP handlers?
24. What is fragment caching?
25. When caching is set at both the Web form and user control levels, How does the cache settings interact?
26. What is PartialCaching attribute used for?
27. In which namespace is the DataSet class present?
28. What is the use of DataSet.HasChanges() Method?
29. What is Microsoft ADO.NET?
30. List the 4 common ADO.NET Namespaces?
31. What is the difference between DataReader and DataAdapter?
32. How do you read an XML file into a DataSet?
33. How is a property designated as read-only?
34. When do you use ExecuteReader, ExecuteNonQuery, ExecuteScalar methods?
35. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
36. Which control would you use if you needed to make sure the values in two different controls matched?
37. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
38. How would you implement inheritance using VB.NET/C#?
39. What is the difference between boxing and unboxing?
40. Describe the difference between a Thread and a Process?
41. Describe the difference between inline and code behind?
42. How do you turn off cookies for one page in your site?
43. What are the 3 major types of connection objects in ADO.NET?
44. What is the difference between Named skins and Default skins?
45. What are the security concerns to keep in mind when using themes?
46. What are different page navigation techniques in ASP.NET?
47. What is the difference between Response.Redirect and Server.Transfer?
48. What is the difference between a web farm and a web garden?
49. What is the difference between Authentication and Authorization?
50. What are the best practices to keep in mind when accepting user input on a web application?
51. What are the steps to follow to share Session state information using a SQL database?
52. What is the difference between an EXE and a DLL?
53. What is cyclomatic complexity and why is it important?
54. What is the difference between a Debug and Release build?
55. What is the difference between Response.Write() and Response.Output.Write()?

No comments:

Post a Comment