Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
.Net Framework
Comments: 0

Is it true that objects don't always get destroyed immediately when the last reference goes aw

Yes. The garbage collector offers no guarantees about the time when an object will be destroyed and its memory reclaimed.

There was an interesting thread on the DOTNET list, started by Chris Sells, about the implications of non-deterministic destr...
Posted By:Anna Hill      Posted On: Sep 25

.Net Framework
Comments: 0

Why doesn't the .NET runtime offer deterministic destruction?

Because of the garbage collection algorithm. The .NET garbage collector works by periodically running through a list of all the objects that are currently being referenced by an application. All the objects that it doesn't find during this search are...
Posted By:Alexander Fields      Posted On: Feb 07

.Net Framework
Comments: 0

What is an application domain?

An AppDomain can be thought of as a lightweight process. Multiple AppDomains can exist inside a Win32 process. The primary purpose of the AppDomain is to isolate applications from each other, and so it is particularly useful in hosting scenarios such...
Posted By:Teresa Rogers      Posted On: Dec 31

.Net Framework
Comments: 0

How does an AppDomain get created?

AppDomains are usually created by hosts. Examples of hosts are the Windows Shell, ASP.NET and IE. When you run a .NET application from the command-line, the host is the Shell. The Shell creates a new AppDomain for every application.

AppDomains can...
Posted By:Tammy Sanders      Posted On: Mar 16

.Net Framework
Comments: 0

Can I write my own .NET host?

Yes. For an example of how to do this, take a look at the source for the dm.net moniker developed by Jason Whittington and Don Box. There is also a code sample in the .NET SDK called CorHost.
Posted By:Hilma Miller      Posted On: Nov 27

.Net Framework
Comments: 0

How do assemblies find each other?

By searching directory paths. There are several factors that can affect the path (such as the AppDomain host, and application configuration files), but for weakly named assemblies the search path is normally the application's directory and its sub-di...
Posted By:Bathilda Schmidt      Posted On: Sep 03

  54  55  56  57  58  59  60  61  62  63  64