What is the application domain?

ASP.NET introduces a concept of application domain or AppDomain which is like a lightweight process that acts like both container and boundary. The .NET run-time uses the AppDomain as a container for data and code. The CLR allows multiple .NET applications to run in a single AppDomain. In .NET, an application domain, often abbreviated as … Read more

What is caching?

Caching simply means storing the data temporarily in the memory so that the data can be accessed from the memory instead of searching for it in the original location. It increases the efficiency of the application and also increases its speed. Following are the types of caching: Page caching Data caching Fragment caching In the … Read more

What is a garbage collector?

Garbage collector feature in .NET frees the unused code objects in the memory. The memory head is divided into 3 generations: Generation 0: It stores short-lived objects. Generation 1: This is for medium-lived objects. Generation 2: It stores long-lived objects. Collection of garbage refers to the collection of objects stored in the generations. In a … Read more

What are MDI and SDI?

MDI( Multiple Document Interface): An MDI lets you open multiple windows, it will have one parent window and as many child windows. The components are shared from the parent window like menubar, toolbar, etc. SDI( Single Document Interface): It opens each document in a separate window. Each window has its own components like menubar, toolbar, … Read more

What are the different types of assemblies?

There are two types of assemblies: Private Assembly: It is accessible only to the application, it is installed in the installation directory of the application. Shared Assembly: It can be shared by multiple applications, it is installed in the GAC. In the .NET framework, there are primarily four types of assemblies: Private Assemblies: These assemblies … Read more