defining asmx webservice class objects as static

Posted by Usama Khalil on Stack Overflow See other posts from Stack Overflow or by Usama Khalil
Published on 2010-03-09T10:03:16Z Indexed on 2010/03/09 10:06 UTC
Read the original article Hit count: 494

Filed under:
|

Hi,

is it better to declare Webservice class object instances as static as the .asmx webservice classes have only static methods.

what i want is that i declare and instantiate webservice asmx class as static in aspx Page Behind Class.

and on every event call on that page i could perform operation against webservice methods.

is it beneficial in terms of performance?

Thanks

Usama

© Stack Overflow or respective owner

Related posts about c#2.0

Related posts about asmx