I did some changes in my web class and I copied the *.cs file from under
App_Code folder. That was enough to gain access to the newly added method.
Now I need to add some muscles, such as database and MSMQ access and see
what changes.

Thanks anyway for your replies. I did find that "Publish Web Site" option
when right-clicking the project. I didn't use it yet since I managed to run
my Web service by web-sharing a folder that contains the web service.

Best,
Eddie



-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Phil Sayers
Sent: Monday, November 19, 2007 3:11 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Deploying Web Services in Visual Studio
2005


your reply hints that VS2k5 is not using Cassini...and is using the IIS
installed on your local machine.

I "think" your all set to develop webservices and tset them locally.
In terms of how to deploy to test & production servers....I'm lost... i'ts
been too long, and the model is different in 2005 when compared to 2003.


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Eddie Lascu
Sent: Monday, November 19, 2007 3:03 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Deploying Web Services in Visual Studio
2005


Hi Phil,

I hate to waste your time with something that most likely is "beginner"
stuff, but how do I "Publish my webservice to my local machine IIS to make
it available through IE on standard port 80 url"?

I did some progress since I sent my initial question. Went in Computer
Management, under IIS -> Web Sites -> Default Web Site -> Properties -
ASP.NET and selected the version to be 2.0.50727.

This was enough the allow me to launch my web service by providing the IP
address instead of the "localhost" from both my machine and a different
machine. The only problem is that I am asked to introduce my credentials (my
domain account). I remember from 4 years ago that the ASP.NET account was
supposed to be added somewhere and searching for that place, I found the
Directory Security under the properties for my Web Service. I clicked to
Edit the Anonymous Access and authentication control and I said I want
Anonymous access, allowing IIS to control the password. Now I can access the
web service from any machine, using the IP address and w/o being asked to
provide credentials.
Have I just answered my own question?

Thanks,
Eddie


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Phil Sayers
Sent: Monday, November 19, 2007 2:32 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Deploying Web Services in Visual Studio
2005


"Cassini" may be the preventer of your productivity.

vs2k5 comes with a mini-webserver for running web projects.

You need to "Publish" your webservice to your local machines IIS to make it
available through IE on the standard port 80 url.


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Eddie Lascu
Sent: Monday, November 19, 2007 2:25 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Deploying Web Services in Visual Studio 2005


I have done my share of Web Services back in the days (cca VS2003). Now I
need to write a new web service and I see things have changed somehow. After
trying several methods, I went back to the basics and tried the "Hello
World" method. I can run it in debug, from VS2005, but I can see that the
URL uses "localhost" and a port number. If I try replacing the "localhost"
with my machine name or IP address it doesn't work. In the old days I would
get all the files needed and deploy them by creating a specific folder and
web sharing it. That doesn't work anymore. And I remember being able to run
Web Services w/o having to indicate what port number should be used.
I think I need a guide on how to set all the permissions needed by the IIS
to allow anyone connect to my web service. Is there a resource somewhere on
the net to give me a head start on this task? I did a quick search on MSDN
hoping to find a step-by-step guide that would discuss all the aspects of
deploying a web service.
My Web Service needs to access data in a database, log events and send MQ
messages. If I have so many problems deploying the simplest one, I can only
imagine the trouble I'll through to have the entire functionality
implemented.

Any suggestion will be highly appreciated.
Thanks in advance,
Eddie

PS: I posted this question on multiple forums. If you received it twice or
more, please disregard and excuse the inconvenience.

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to