Will there be a problem of having datacontext object in a shared variable for a website (instead of instantiating it again and again). What I mean is, is the db connection opened for ever as long as datacontext is in memory?
Will there be a performance hit if I instantiate it everytime I need.
How about the same case for context object of EF