C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Application Domain


Posted Date: 29 May 2008    Resource Type: Articles    Category: Web Applications

Posted By: Kumar Velu       Member Level: Diamond
Rating:     Points: 5



Application Domain



Application domains provide a secure and versatile unit of processing that the common language runtime can use to provide isolation between applications. It can be thought of a vitural memory space area in a Process and thus can have multiple these areas within one process bounderies. The absolute main benefit of it is that you can run several application domains in a single process with the same level of isolation that would exist in separate processes, but without incurring the additional overhead of making cross-process calls or switching between processes. The ability to run multiple applications within a single process dramatically increases server scalability.

Isolating applications is also important for application security. For example, you can run controls from several Web applications in a single browser process in such a way that the controls cannot access each other's data and resources.

Benefits of Application Domain



1. If one application goes down due to any fault, it cannot affect other applications. Because type-safe code cannot cause memory faults, using application domains ensures that code running in one domain cannot affect other applications in the process.

2. Code of one application in one appdomain can not access code of other application in other appdomain. This is enforced isolation from CLR. The objects across AppDomains can be copied or only accessed through proxies.

3. Individual applications can be unloaded from memory without disturbing other applications in the same process.

4. Permissions granted to the code can be controlled by the application domain in which the code is running.




Responses

Author: Arun Kumar    05 Jun 2008Member Level: Bronze   Points : 1
What is the difference between application pool and application domain?


Author: Kumar Velu    06 Jun 2008Member Level: Diamond   Points : 2
hi arun,

Appdomain is a container within which ASPX runs and that Apppool is a process that starts the w3wp.exe worker process within which ASP applications run.


Author: Mahesh Raj    07 Jun 2008Member Level: Gold   Points : 1
This is very good information,Continue posting such useful articles.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Encrypting Web.config in ASP.NET 2.0 Applications:
Previous Resource: Datagrid Inside the Datagrid
Return to Discussion Resource Index
Post New Resource
Category: Web Applications


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use