If I open some DB connection in some global viable in one call of the web service’s method and if concurrently at second call of this method will it see this instance in this global viable ? Are this resources shared or each call has it’s own resources ?
Thanks
Global variables tend to be just that, global. If your global variable is a C#
static, it will be shared by webservice methods in the AppDomain. This is obviously error-prone – It is better, if each webservice method obtains a new connection when needed, and close it before the method finishes.