Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initialized code in webService
Message
From
16/01/2005 01:41:58
 
 
To
16/01/2005 01:36:53
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00977559
Message ID:
00977560
Views:
19
> After I did some experiments in .net web service, I realized that for the .net web service methods would call the constructor everytime while my client site invoke the method. Is this any way to put my initialized code which I only want to run once.

Are you saying you want the Web Service to do some initialization, such as assigning values to some properties, on the first hit and preserve those for all upcoming hits?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform