Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

General question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Schmitz - 25 Mar 2005 13:01 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.