WebService application - return new objects from static/shared method

coders333

New Member
Would using a static/shared method in a webservice application thread safe? This method would be called heavily to retrieve new instances.For instance:\[code\] Public Shared GetPerson(ByVal name as String,ByVal surname) as Person Dim p As New Person p.Name = name p.Surname = surname p.Addresses = GetAllAddresses(name) return pEnd Function\[/code\]
 
Back
Top