55 ASP.NET Interview Questions |
While different interviewers may ask distinctive questions, it always helps to be prepared for severe grilling. So we have to drawn up a list of frequently asked 55 asp.net interview questions. Read all the questions and prepare answers dotted with examples for success in the job interview. - What is ASP.NET?
- What are the differences between ASP.NET and ASP?
- Tell me ASP.NET versions list?
- Which version is easy and stable according to you?
- What are the best practices to follow to secure connection strings in an ASP.NET web application?
- What is the advantage of storing an XML file in the applications App_Data folder?
- What are the steps to follow to avoid Script Injection attacks?
- What is the difference between Class And Interface?
- Which method can be used to remove forms authentication cookie?
- How can you control access to subfolders in a web application?
- Is it possible to encrypt view state data of an aspx page?
- What are Cookies in ASP.NET?
- What is the difference between Session Cookies and Persistent Cookies?
- Are Cookies secure?
- How do you create a permanent cookie?
- What is caching?
- Give a simple example to show how to cache a web form without using @OutputCache directive?
- What is HttpCachePolicy object’s SetAllowResponseInBrowserHistory method used for?
- What is an HTTP Handler?
- What is the difference between asynchronous and synchronous HTTP Handlers?
- What is HTTP module?
- Which class is responsible for receiving and forwarding a request to the appropriate HTTP handler?
- What is the difference between HTTP modules and HTTP handlers?
- What is fragment caching?
- When caching is set at both the Web form and user control levels, How does the cache settings interact?
- What is PartialCaching attribute used for?
- In which namespace is the DataSet class present?
- What is the use of DataSet.HasChanges() Method?
- What is Microsoft ADO.NET?
- List the 4 common ADO.NET Namespaces?
- What is the difference between DataReader and DataAdapter?
- How do you read an XML file into a DataSet?
- How is a property designated as read-only?
- When do you use ExecuteReader, ExecuteNonQuery, ExecuteScalar methods?
- Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
- Which control would you use if you needed to make sure the values in two different controls matched?
- Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
- How would you implement inheritance using VB.NET/C#?
- What is the difference between boxing and unboxing?
- Describe the difference between a Thread and a Process?
- Describe the difference between inline and code behind?
- How do you turn off cookies for one page in your site?
- What are the 3 major types of connection objects in ADO.NET?
- What is the difference between Named skins and Default skins?
- What are the security concerns to keep in mind when using themes?
- What are different page navigation techniques in ASP.NET?
- What is the difference between Response.Redirect and Server.Transfer?
- What is the difference between a web farm and a web garden?
- What is the difference between Authentication and Authorization?
- What are the best practices to keep in mind when accepting user input on a web application?
- What are the steps to follow to share Session state information using a SQL database?
- What is the difference between an EXE and a DLL?
- What is cyclomatic complexity and why is it important?
- What is the difference between a Debug and Release build?
- What is the difference between Response.Write() and Response.Output.Write()?
|