VB.Net Programming Interview Questions and Answers - 3

Question: 11

What distributed process frameworks outside .NET do you know?

Distributed Computing Environment/Remote procedure calls (DEC/RPC), Microsoft Distributed Component Object Model (DCOM), common object Request Broker Architecture (CORBA), and Java Remote Method Invocation (RMI).

Question: 12

Can you call the garbage collector explicitly?

System.GC class exposes a Collect method- this forces the garbage collector to collect all unreferenced objects immediately.

Question: 13

What is difference between “tlbexp” and “Regasm” tools?

Both these tools are used to create CCW from a .NET Assembly, the only difference being that Tlbexp will not register the type library unlike regasm.

Question: 14

What is a Windows Service and how does its lifecycle differ from a “standard” EXE?

A windows Service is program that conforms to the rules of the SCM (Service Control Manager). The main difference is that it does not need a logged on user to activate it.

Question: 15

What is the difference between XML Web services using ASMX and .NET Remoting using SOAP?

The difference is that remoting is not as interoperable as web services.

Related Questions