Re: Web Service Question
- From: Tony <Tony@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Oct 2006 06:57:02 -0700
That did it... thanks Peter.
It does raise a couple of questions however...
1) Is deploying the source code the recommended method to deploy a web
service if using Visual Studio 2005?
2) I'm wondering why everything I read said that a dll was going to be
generated and yet it was not.
3) Is there a reference that you could suggest where I could read about this?
Thanks again Peter.
TE
"Peter Bromberg [C# MVP]" wrote:
I would suggest, then, that you download and install the Web Application.
Project add-in. You will find the usage and semantics almost identical to
VS.NET 2003.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Tony" wrote:
I didn't think I had to copy the code to the web server... In fact, I don't
think I would want to copy code tothe web server.
"chanmm" wrote:
You need to copy asmx file and asmx.cs file over to where you want to
deploy. Watch out for your web.config file too. Good luck
chanmm
"Tony" <Tony@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5C24DE4B-03B7-489F-ADED-5BB867B31369@xxxxxxxxxxxxxxxx
Posted in a different news group - but hoping to find an answer here...
I am using VS 2005 and am testing my first web service. If I follow the
common instructions for creating a web service by creating a new website
using the ASPX.Net Web Service template, there appears to be no dll file
created when building the web site. However, if I create a class library
and
move the asmx file and App_Code directory to that library the .dll file is
then created. I've not seen any references that make me believe this is
the
correct way to do this.
In other words, if I follow the steps in this link
http://msdn2.microsoft.com/en-us/library/6x71sze4.aspx there is a comment
that says "The Service.vb (or .cs) class file and the Global.asax class
file
are compiled into the project .dll file, which is then copied to the
server
in the default \bin directory of the target virtual directory. If the
project
is set to compile a debug version, Visual Studio creates a project .pdb
file
in the \bin directory. "
I have no dll file or \bin directory.
Can anyone please provide additional guidance?
- Follow-Ups:
- Re: Web Service Question
- From: Peter Bromberg [C# MVP]
- Re: Web Service Question
- References:
- Re: Web Service Question
- From: chanmm
- Re: Web Service Question
- From: Peter Bromberg [C# MVP]
- Re: Web Service Question
- Prev by Date: "Late binding" in C#
- Next by Date: architecture problem
- Previous by thread: Re: Web Service Question
- Next by thread: Re: Web Service Question
- Index(es):
Relevant Pages
|