473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

General question

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

Nov 23 '05 #1
1 910
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
"Peter Schmitz" <Pe**********@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
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

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: John Salerno | last post by:
After my last post, I thought of another question as a result of the following: ------------------------------ Mike Meyer wrote: > John Salerno <johnjsal@NOSPAMgmail.com> writes: > > >>So...
3
by: JezB | last post by:
What's the generally accepted approach for using Styles and Stylesheets in a web application based on .aspx files, Web Controls, User Controls, and code-behind modules (c# in my case)? Most style...
2
by: ZorpiedoMan | last post by:
I'm new to the world of sockets, and this question is not VB specific: If multiple clients access the same server on the same port, and the server is set up to do some async communication, does...
105
by: Christoph Zwerschke | last post by:
Sometimes I find myself stumbling over Python issues which have to do with what I perceive as a lack of orthogonality. For instance, I just wanted to use the index() method on a tuple which does...
1
by: Mark Fink | last post by:
Hi there, unfortunately I am new to Jython and my "Jython Essentials" book is still in the mail. I looked into the Jython API Doc but could not find the information. I am porting a Python...
0
by: Yong | last post by:
I'm not getting any reply to my previous thread so I'm stating a new one. I get a General Network Error due to my SqlCommand object not having a big enough CommandTimeout to complete very long...
4
by: Viviana Vc | last post by:
Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a...
2
by: sharan | last post by:
Hello Friends I have a problem in Data Structure (In C) i want to emplement a General tree having three child nodes of each parent node ...please send me any simple Example( code) by which i can...
2
by: SpotNet | last post by:
Scott M. Have your experiences shown you that programmers may give the best computer advice, analysis, and solutions even at the worst of times, for a PC user? ;~D Haven't crossed many Network...
3
by: =?Utf-8?B?Ymxi?= | last post by:
I am posting to the general discussion group - but I cannot find my postings... or replies...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.