ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Application Base

Definition - What does Application Base mean?

The application base is the directory, which contains all the files related to a .NET application, including the executable file (.exe) that loads into the initial or default application domain.

The application base is the root directory containing the application. To satisfy a type request, the runtime uses this value to search for the assembly containing the required type. The application base is the directory from where the assembly manager starts probing for assemblies. In case of web-based applications, the application base is the root of the website. If a configuration file is specified for the application, the application base is the location of the configuration file, which stores the configuration details of the code running in the application domain. For a system with more than one website, the application base is the default site defined on port 80.

The application base is also known as an application folder or application directory. It is also used to control the application domains’ access to other applications.

Techopedia explains Application Base

The process used by the runtime to search for dependent assemblies for both web-based and non-web-based applications is the same. The runtime uses paths relative to the application base for searching.

Sometimes, it is essential to create customized environments for applications to be executed with restricted permissions, which reduces the risks associated with security vulnerabilities. In such cases, application domains can be created and configured programmatically with the required security options. While creating such custom application domains, the ApplicationSetup class is used to specify the application base property along with other parameters.

Application base is an important property of the AppDomainSetup class used to fetch or update the name of the directory containing the application. For a newly-created application domain, the ApplicationBase value is the same as that of its creator. The ApplicationBase property is the same type as System.String and is included in the namespace, System and assembly, and mscorlib.dll.

The permissions granted to an application domain, in which an application is executed, depends on the value of the application base. For example, although an application domain is created by a local computer, if the application base property is set to an intranet directory, the permissions given to the application domain will be restricted to Local Intranet and influence the permissions granted to it. Therefore, the value of the ApplicationBase property has to be set correctly to avoid errors.

This definition was written in the context of .net

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.