locked
How to use "AppDomain" class? RRS feed

  • Question

  • Hi,

     

    I was reading about AppDomain classes and how to implement security with this api, however, I didn't understand What does this? Wich cases should I use it?


    Tarcísio Corte tarcisiocorte@gmail.com
    Thursday, September 8, 2011 5:24 PM

Answers

  • Hi Tarcisio,

    Take a look at the following links

    How to Create an Application Domain

    http://msdn.microsoft.com/en-us/library/6s0z09xw.aspx

    Application Domains

    http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx

    Programming with Application Domains and Assemblies

    http://msdn.microsoft.com/en-us/library/dah4cwez.aspx

    Hope it helps.

    Regards,

    A.Murugan.

     


    Please mark this post as answer if it solved your problem. Happy Programming!
    • Edited by Martin_Xie Friday, September 9, 2011 6:02 AM Add link topics.
    • Marked as answer by Martin_Xie Monday, September 19, 2011 12:06 PM
    Thursday, September 8, 2011 6:22 PM
  • Application domains provide a more secure and versatile unit of processing that the common language runtime can use to provide isolation between applications. 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.



    Ali Hamdar (alihamdar.com - www.ids.com.lb)
    • Marked as answer by Martin_Xie Monday, September 19, 2011 12:06 PM
    Thursday, September 8, 2011 6:52 PM

All replies

  • Hi Tarcisio,

    Take a look at the following links

    How to Create an Application Domain

    http://msdn.microsoft.com/en-us/library/6s0z09xw.aspx

    Application Domains

    http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx

    Programming with Application Domains and Assemblies

    http://msdn.microsoft.com/en-us/library/dah4cwez.aspx

    Hope it helps.

    Regards,

    A.Murugan.

     


    Please mark this post as answer if it solved your problem. Happy Programming!
    • Edited by Martin_Xie Friday, September 9, 2011 6:02 AM Add link topics.
    • Marked as answer by Martin_Xie Monday, September 19, 2011 12:06 PM
    Thursday, September 8, 2011 6:22 PM
  • Application domains provide a more secure and versatile unit of processing that the common language runtime can use to provide isolation between applications. 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.



    Ali Hamdar (alihamdar.com - www.ids.com.lb)
    • Marked as answer by Martin_Xie Monday, September 19, 2011 12:06 PM
    Thursday, September 8, 2011 6:52 PM