Hello Friends, In this tutorial we are going to understand the concept of AppDomain. AppDomain is a lightweight process that acts as a boundary and container for Code and data. As the operating system uses a process to isolate misbehaving code, the .NET runtime uses an AppDomain to isolate code inside of a secure boundary.

After Completing this tutorial you will understand:

  • What is AppDomain in .NET?

What is AppDomain?

Whenever we run an application basically we launch an exe that creates a process and in this process threads are created and threads are where the instruction will be executed. A Process can have multiple threads. Now the situations come when one thread performs an illegal action the whole process will terminate that’s the rule of the operating system.

In .Net we have a facility where within the process we can create logical partition and these logical Partitions are called as AppDomains. So the process will have AppDomains and inside the App Domains, we can have one or more threads. So AppDomain is a logical Partitions inside the Process containing one or more Threads. So what is the Advantage of having AppDomain? If any thread inside the AppDomain performs an illegal action only that particular Ap Domain will be terminated and other AppDomain inside the would still continue to execute. So each AppDomain inside the Process is isolated from each other that means one execution of one AppDomain does not affect the execution of other Ap Domain.
Since multiple AppDomains are part of the same process and therefore they actually share the same managed heap. This is usually not an issue since the AppDomain models prevent implicit access between Appdomains.

AppDomain

View More:

Conclusion:

Hope you understand the concept of AppDomain in .Net. I would appreciate your feedback, Comments, and Suggestions.

Thank You.

66 Comments

  • Im grateful for the blog.Really looking forward to read more. Really Cool.

  • I just could not go away your site before suggesting that I extremely enjoyed the usual info an individual supply
    to your guests? Is going to be back regularly in order to check out
    new posts

  • hey there and thank you for your information –
    I’ve certainly picked up anything new from right here.
    I did however expertise a few technical issues using this website, since
    I experienced to reload the site a lot of times previous to I could
    get it to load correctly. I had been wondering if your web hosting is OK?
    Not that I’m complaining, but sluggish loading instances
    times will sometimes affect your placement in google and could damage your quality score if ads and marketing with Adwords.

    Well I’m adding this RSS to my email and could look out
    for much more of your respective exciting content. Make sure you update this
    again soon.

  • I seriously love your site.. Excellent colors & theme.

    Did you create this website yourself? Please reply back
    as I’m trying to create my own website and would like to learn where you got this from or exactly what the theme is called.
    Kudos!

  • Very nice post. I just stumbled upon your weblog
    and wanted to say that I have really enjoyed surfing around your blog posts.
    After all I will be subscribing to your feed and I hope
    you write again soon!

  • I was just searching for this information for a while. After six hours of continuous Googleing, at last I got it in your website. I wonder what’s the lack of Google strategy that do not rank this kind of informative web sites in top of the list. Usually the top websites are full of garbage.

  • certainly like your web site however you have to test the spelling on several of your posts.
    Several of them are rife with spelling problems and I in finding it very bothersome to tell
    the reality nevertheless I’ll surely come again again.

  • I am sure this article has touched all the internet viewers, its really really good paragraph on building up
    new blog.

  • Hi there! Someone in my Myspace group shared this website with us so I came to check it out.
    I’m definitely loving the information. I’m book-marking and
    will be tweeting this to my followers! Terrific blog and wonderful style and design.

  • A lot of thanks for all your valuable labor on this blog. Betty enjoys doing internet research and it is easy to see why. All of us hear all relating to the compelling medium you produce insightful information on this blog and in addition encourage response from some others on this matter so our own child is actually starting to learn a lot. Have fun with the remaining portion of the year. You’re doing a fabulous job.Thanks for the strategies you have discussed here. In addition, I believe there are several factors that will keep your insurance premium all the way down. One is, to take into account buying cars and trucks that are inside good listing of car insurance corporations. Cars that happen to be expensive tend to be more at risk of being robbed. Aside from that insurance coverage is also depending on the value of your vehicle, so the costlier it is, then the higher this premium you pay.

  • I have been browsing online more than 2 hours today, yet
    I never found any interesting article like yours.
    It is pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you
    did, the web will be a lot more useful than ever before.

  • I will right away grasp your rss feed as I can’t in finding
    your e-mail subscription link or e-newsletter service. Do you have any?
    Kindly allow me know in order that I may just subscribe.
    Thanks.

  • Oh my goodness! Impressive article dude! Thanks, However I am going through troubles with your
    RSS. I don’t know why I am unable to subscribe to it.
    Is there anybody having similar RSS problems? Anybody who knows the solution will you kindly respond?
    Thanx!!

  • I need to to thank you for this excellent read!!
    I certainly enjoyed every little bit of it. I’ve got you book
    marked to check out new stuff you

  • Whoa! This blog looks just like my old one!

    It’s on a entirely different subject but it has pretty much
    the same layout and design. Great choice of colors!

  • It is perfect time to make some plans for the future and
    it is time to be happy. I’ve read this post and if I could I desire to suggest you some interesting things or
    suggestions. Maybe you could write next articles
    referring to this article. I wish to read more things about it!

  • Ahaa, its pleasant discussion regarding this piece of writing at
    this place at this weblog, I have read all that, so now me also commenting here.

  • I am sure this article has touched all the internet viewers, its really really fastidious article on building up new blog.

  • Hola! I’ve been reading your website for a while now and finally got the bravery to
    go ahead and give you a shout out from Humble Tx! Just wanted to
    say keep up the great job!

  • I’ve been browsing online greater than three hours
    nowadays, but I never discovered any attention-grabbing article like yours.
    It is pretty value sufficient for me. In my opinion, if all web owners and bloggers made just right content material as you did, the net will probably be much more useful than ever before.

  • Ahaa, its fastidious conversation regarding this paragraph at this place at this blog, I have read all that, so now me
    also commenting here.

  • Hello.This article was really motivating, especially since I was looking for thoughts on this subject last Monday.

  • As I web site possessor I believe the content matter here is rattling great , appreciate it for your hard work. You should keep it up forever! Best of luck.

  • Hello would you mind letting me know which webhost you’re utilizing?
    I’ve loaded your blog in 3 completely different internet
    browsers and I must say this blog loads a lot quicker then most.
    Can you recommend a good internet hosting provider at a fair price?
    Thanks a lot, I appreciate it!

  • What i don’t understood is actually how you’re not actually much more well-appreciated than you may be now.

    You’re so intelligent. You realize thus significantly in relation to this subject, made me in my view believe it
    from numerous various angles. Its like women and men are not fascinated unless it is one thing to accomplish
    with Girl gaga! Your individual stuffs excellent. Always care for it up!cheap nba jerseys

  • Hey there just wanted to give you a quick heads up. The
    text in your article seem to be running off the screen in Safari.
    I’m not sure if this is a format issue or
    something to do with browser compatibility but I thought I’d post to let you know.

    The style and design look great though! Hope you get the
    problem resolved soon. Thanks

  • Hey there just wanted to give you a quick heads up.
    The words in your content seem to be running off the
    screen in Safari. I’m not sure if this is a format issue or something to do with web browser compatibility but
    I figured I’d post to let you know. The layout look great though!
    Hope you get the issue fixed soon. Many thanks

  • I have been browsing online more than 3 hours today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. Personally, if all
    web owners and bloggers made good content as you did, the internet will be much more useful than ever before.

  • It is appropriate time to make some plans for the future and it
    is time to be happy. I’ve read this submit and if I may I desire to recommend you few attention-grabbing issues or
    suggestions. Perhaps you can write subsequent articles regarding this article.
    I desire to learn more issues about it!

  • Ahaa, its good conversation about this article at this place at this
    weblog, I have read all that, so now me also commenting
    here.