ASP.Net Webservice - Constructors with Parameters
Posted
by Ben
on Stack Overflow
See other posts from Stack Overflow
or by Ben
Published on 2010-03-03T17:09:29Z
Indexed on
2010/05/09
5:48 UTC
Read the original article
Hit count: 531
Hi, I'm fairly new to WebService developement and have just set up my own webservice (ASP.Net 3.5, Visual Studio 2008 .asmx file). I can not find a way of setting up my webservice to take parameters on the constructor. If i create a constructor that takes parameters, it is not then shown when i hook up to the webservice from my application (it only shows a parameterless constructor). Am i missing something blatently obvious, or is this not possible (and why not)?
Thanks.
© Stack Overflow or respective owner