Hi,
one newbie general question:
I just started to write a vb.net webservice that is consumed by a .net
application (client). Now, as there may be lots of clients for one web
service when I release the application, each client has to be configurated to
use the correct url to the webservice. Now, this can be done by setting the
.url property like this:
.url = "http://www.anyserver.com/test.asmx"
The url string has to end with *.asmx to point to the actual asmx- file.
But, when I take a look at my test.asmx I can see something like this:
<%@ WebService Language="vb" Codebehind="test.asmx.vb" Class="test.Service1"
%>
Here comes my question: The codebehind statement indicates that I'll need to
ship the *.vb file with my souce code to let this work - but I just wanted to
ship the compiled dll and not my source code. How do I have to set the
statement above so that it makes use of the compiled dll and does not need
any *.vb files?
thanks a lot
Peter
Manohar Kamath - 25 Mar 2005 18:54 GMT
You don't change a thing -- just compile your web service project/solution.
Then ship the dlls in the bin directory, and the asmx files, and any config
files. There is no need for .vb files.

Signature
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
> Hi,
>
[quoted text clipped - 22 lines]
> thanks a lot
> Peter