---
title: "How does an AppDomain get created?"  
description: "How does an AppDomain get created?"  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/150/how-does-an-appdomain-get-created  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# 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 also be explicitly created by .NET applications.

## Answers

### Answer by Pushpendra Singh

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 also be explicitly created by .NET applications.


---

Original Source: https://www.mindstick.com/interview/150/how-does-an-appdomain-get-created

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
