Dot Net Interview Questions
A dozen .NET questions
- Differences between DLL and EXE?
- Can an assembly have EXE?
- Can a DLL be changed to an EXE?
- Compare & contrast rich client (smart clients or Windows-based) & browser-based Web application
- Compare Client server application with n-Tier application
- Can a try block have more than one catch block?
- Can a try block have nested try blocks?
- How do you load an assembly at runtime?
- If I am writing in a language like VB or C++, what are the procedures to be followed to support .NET?
- How do you view the methods and members of a DLL?
Active Server Pages Interview Question
- How do you create a recordset object in VBScript?
- What is Querystring collection? - It allows you to extract data sent to the server using a GET request.
- Explain the difference between POST and GET Method. - GET requests are string data that is visible to the end user via the URL and a limit of 2kb, POST requests have no limit on total data and the user can’t see the data in a query string.
- Why do we use Option Explicit? - To avoid multiple variables of the same name.
.NET database dev questions
1. To test a Web Service you must create a windows application or web application to consume this service? It is True/False?
2. How many classes can a single.NET DLL contain?
3. What are good ADO.NET object(s) to replace the ADO Recordset object?
4. On order to get assembly info which namespace we should import?
5. How do you declare a static variable and what is its lifetime? Give an example.
6. How do you get records number from 5 to 15 in a dataset of 100 records? Write code.
Interview questions for .NET
1. What is a static class?
2. What is static member?
3. What is static function?
4. What is static constructor?
5. How can we inherit a static variable?
6. How can we inherit a static member?
7. Can we use a static function with a non-static variable?
8. How can we access static variable?
9. Why main function is static?
.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?