locked
Using static Dbcontext RRS feed

  • Question

  • Hi ,

    We would like to use static context for our web application , which is code First based approach and inherits from DbContext.

    Would like to know if there are any known downsides to this, will it cause any sharing of data between other threads(users).

    Best Regards

    Naveen

    Monday, November 5, 2012 9:55 AM

Answers

  • Hi Naveen_ADO.net,

    Welcome to MSDN Forum.

    Please refer to this similar thread, it provide a good explanation. http://forums.asp.net/t/1747001.aspx/1

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Allen_MSDN Monday, November 12, 2012 1:42 AM
    Tuesday, November 6, 2012 2:22 AM