all groups > dotnet web services > march 2005 >
You're in the

dotnet web services

group:

General question


General question Peter Schmitz
3/25/2005 4:01:01 AM
dotnet web services:
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
Re: General question Manohar Kamath
3/25/2005 11:54:21 AM
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.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


[quoted text, click to view]

AddThis Social Bookmark Button