Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is AppDomain?Explain how it works.

Answers were Sorted based on User's Feedback



What is AppDomain?Explain how it works...

Answer / murthy remella

AppDomain a eco system inside the IIS /ASP.NET worker
process, where CLR loads itself and executes the .NET code,
when we try to run a program written in .NET

AppDomain isolates the runtime environment of each
application from the other applications running on a
machine, it improves the application stability.

AppDomain maintains the context and shared resources and
allow all the user requests to use information while
request processing.

Is This Answer Correct ?    13 Yes 0 No

What is AppDomain?Explain how it works...

Answer / murthy remella

Its mandatory to create application domain for running
any .NET code. Its the light weight process in which CLR
will execute the code. AppDomain is built into Framework.

Generally regular application development doesn't require
AppDomain creation, but in some specific scenarios like
loading a component in seperate domain and unloading after
its purpose is served without stopping the entire
application.

ServiceHost Applications (IIS, ASP.NET worker) will handle
creation and management of appDomain in the background

Also, for each virtualdirectory/website one application
domain is created normally, which serves all the incoming
requests.But if you think the load is high and a single
appDomain is scalable then the application can use multiple
appdomains. (http://www.IIS.net for more details)

Is This Answer Correct ?    4 Yes 1 No

What is AppDomain?Explain how it works...

Answer / murthy remella

sure, please let me know what specifically you want me to
answer

Is This Answer Correct ?    2 Yes 0 No

What is AppDomain?Explain how it works...

Answer / kishore

app domain useful to set security boundries to the all
asp.net applications i.e it does n't interupt other asp.net
applications generally it's built in feature in asp.net
when we create application separate app domain will be
created

Is This Answer Correct ?    2 Yes 0 No

What is AppDomain?Explain how it works...

Answer / sarojini

one process having more application domains,when one
application domain throws an error it doesn't reflect the
others.
by using remote call objects we can invoke the methods
on other domains

Is This Answer Correct ?    1 Yes 0 No

What is AppDomain?Explain how it works...

Answer / chandu

Thank you Murthy,I need some more clarity for this question

Please anybody have clear idea

Is This Answer Correct ?    1 Yes 1 No

What is AppDomain?Explain how it works...

Answer / vijay musmade

app domain is one of the main utility of ASP.net
which is mostly used for .net security for particular domain

Is This Answer Correct ?    0 Yes 0 No

What is AppDomain?Explain how it works...

Answer / manjari anand

The common language runtime has been designed to support a
variety of different types of applications, from Web server
applications to applications with a traditional rich
Windows user interface. Each type of application requires a
runtime host to start it. The runtime host loads the
runtime into a process, creates the application domains
within the process, and loads user code into the
application domains.
Operating systems and runtime environments
typically provide some form of isolation between
applications. For example, Windows uses processes to
isolate applications. This isolation is necessary to ensure
that code running in one application cannot adversely
affect other, unrelated applications.
Application domains provide an isolation boundary for
security, reliability, and versioning, and for unloading
assemblies. Application domains are typically created by
runtime hosts.

You can run several application domains in a single process
with the same level of isolation that would exist in
separate processes.The ability to run multiple applications
within a single process dramatically increases server
scalability.
The isolation provided by application domains
has the following benefits:
• Faults in one application 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.
• Individual applications can be stopped without
stopping the entire process. Using application domains
enables you to unload the code running in a single
application.

Is This Answer Correct ?    1 Yes 1 No

What is AppDomain?Explain how it works...

Answer / chnd147

Hi Murthy,
sorry for ur miss understading,I mean i need more
clarity as follows.Please give if possible

Is there any specific reason to create AppDomain or Is it
mandatory to create it for every application?
AppDomain is not a framework feature right?
How to create AppDomain,what is the use and where to use it

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Can you dynamically assign a Master Page?

0 Answers   MCN Solutions,


What is css and what is it used for?

0 Answers  


How To Authenticate Your Web service??

1 Answers  


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


What is the life cycle of an asp.net page?

0 Answers  


You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.

3 Answers   Syntax Softtech,


Where is the session stored?

0 Answers  


1. What is Connection Pooling…? 2. Maintaining Sessions in ASP.NET 3. ASP.NET page lifecycle. 4. Can we store objects in sessions. 5. What is AJAX..? 6. Serialization/Deserialization. Why we use serialization and Deserialization…? 7. What are Arrays and Arraylist..? 8. Difference between Authentication and Authorization…? 9. Difference between abstract class and Interfaces 10. What is a view..? Does a view contain data..? 11. What are triggers..? 12. What are transactions..? 13. What is Metaview (oracle)..? 14. What is Inheritance..? How can we call a method from the base class..? 15. Can an abstract class have zero abstract methods..? 16. How to read from Message Queue..? 17. What is Metadata..? 18. You would prefer to have business logic in c# or DB Side..? Why…?

1 Answers   Franklin Templeton, Sky InfoTech,


How to retrieve user name in case of Window Authentication?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect?

5 Answers  


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

0 Answers  


What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

4 Answers  


Categories