terminology - What's a context in asp.net mvc4 -


what's context in asp.net mvc4? loads of classes use term. dbcontext, httpcontext , on. think if know meaning word have better understanding of asp.net mvc.

i feel http://dictionary.reference.com/browse/context defines word 'context' applies , indeed in specific context (forgive me) refer, particularly

2: set of circumstances or facts surround particular event, situation, etc.

consider classes model of "set of circumstances or facts" surrounding particular event occuring, e.g db operation or http request.

dbcontext represents given context pertinent database. is, 1 might interface database in context of "reporting" or in context of "migration", or 1 might consider each interaction database seperate context last.

similarly 1 might make use of http protocol in several different contexts. each use of protocol may constitute different context, i.e 1 context per request. or may refer context in utilised i.e persistence or querying.

it rather common expression , aptly descriptive english term designated function of each of classes mentioned in question. don't hung on precise meaning , inference of each class name; base decisions on full read of documentation :)


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -