Dot Net Interview Questions
.NET WebDev and Web services questions
1. How does ASP page work?
2. How ASP.NET page works?
3. What are the contents of cookie?
4. How do you create a permanent cookie?
5. What is ViewState? What does the “EnableViewState” property do? Whay would I want it on or off?
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?
.NET interview questions
- Difference between directcast and ctype.
- An example of a ctype and directcast.
- ctype(123.34,integer) - should it throw an error? Why or why not?
- directcast(123.34,integer) - should it throw an error? Why or why not?
- Difference between a sub and a function.
- Explain manifest & metadata.
- Scope of public/private/friend/protected/protected friend.
- Different kinds of methods.
- Difference between imperative and interrogative code.
- Difference between value and reference type.
- What are the two kinds of properties.
- What is the raise event used for?
- Explain constructor.
- What is a resource? Provide an example from your recent project.