Dot Net Interview Questions
Microsoft ASP.NET interview questions
1. What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
2. What is serialization, how it works in .NET?
3. What should one do to make class serializable?
4. What exactly is being serialized when you perform serialization?
Simple interview questions on Microsoft .NET
- What is the base class of .NET?
- Explain assemblies.
- Name some of the languages .NET support?
- ADO.NET features? Benefits? Drawbacks?
- How many types of exception handlers are there in .NET?
- Difference between Panel and GroupBox classes?
- What is the base class of Button control?
- What is Response object? How is it related to ASP’s Response object?
- What is IIS? Have you used it?
- Main differences between ASP and ASP.NET.
Tough ASP.NET Interview Questions
- Describe the difference between a Thread and a Process?
- What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
- What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
- What is the difference between an EXE and a DLL?
- What is strong-typing versus weak-typing? Which is preferred? Why?
- What’s wrong with a line like this? DateTime.Parse(myString
- What are PDBs? Where must they be located for debugging to work?
Open-ended .NET questions
- What is the difference between VB 6 and VB.NET?
- What are the authentication methods in .NET?
- What’s the use of formatters in .NET?
- What is Serialization in .NET?
- How is Threading done in .NET?
- Differences between Namespace, Class, Assembly?
- What’s the use of System.Diagnostics.Process class?
ASP interview questions
- How many objects are there in ASP?
- Which DLL file is needed to be registered for ASP?
- If you want to initialize a global variable for an application, which is the right place to declare it? (like form or some other file).
- What is diffrence between Server.transfer and Response.redirect.
- Is there any inbuilt paging(for example shoping cart. which will show next 10 records without refreshing) in ASP? How will you do pating.
- What does Server.MapPath do?
- Name at least three methods of response object other than Redirect.
- Name at least two methods of response object other than Transfer.