473,387 Members | 1,863 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,387 software developers and data experts.

.NET 2.0 Deploy Webservice to a Web Server

Using C# in VS 2005 Pro.

Background:

1. There are 3 of us working on a software project. The project will have
at least 5 separate web services, in addition to web and desktop clients.

2. We are using Subversion for version control. Therefore "flat
directories" are desirable, versus VS's propensity to throw Solutions in a
completely different folder structure than the web service source code.

3. The previous release of the software was Windows Desktop only. We used
C# in VS 2003. I was looking for an excuse to move to VS 2005 for the next
release, and IIS and Virtual Directories were up to the task. I spent many
hours messing with permissions etc. but I could never keep working for more
than 5 to 10 minutes before Internet Explorer and/or FireFox would wait
forever for /localhost/... to return anything. I'd reboot and get another 5
to 10 minutes of work before IIS no longer played well with my code.

4. However, in VS 2003 it was a piece of cake to move the web service to a
web host. /localhost/... was impossible but e.g.
http://www.markjerde.com/zzztest/Web.../Service1.asmx was a piece of cake.
(Fake URL ;-)

5. In VS 2005 working locally is easy, but so far I have not been able to
get a single "Hello World" web service working on any .NET 2.0 web server.
I'm no doubt missing something simple, but I've looked through MSDN, a
couple .NET 2.0 books, and googled extensively. Frustration is mounting....
;-)

I have messed around with "Blank Solution" and can successfully create a
project with the .sln in the same folder as the .asmx file. It works when I
test it on my development computer. How can I publish this to a web
server?

Thanks.

-- Mark
Sep 6 '06 #1
3 4795
Sorry for the duplicate post. OE burped...
Sep 6 '06 #2
Before you get too much further you might want to have a look at the Web
Application Project add-in for VS2005 [1]. In VS2005 web services and web
sites are handled through the Web Developer functionality of Visual Studio.
This, while value-added, is essentially a view of an external web site. This
means it doesn't support version control, and gets a bit hairy if you're
planning on deploying as part of another deployment or part of an automated
build.

The Web Application Project add-in restores the VS2003-like functionality of
a "web project" (the Web Developer projects are really part of the solution,
not the project.)

[1]
http://msdn.microsoft.com/asp.net/re...p/default.aspx
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Mark Jerde" wrote:
Using C# in VS 2005 Pro.

Background:

1. There are 3 of us working on a software project. The project will have
at least 5 separate web services, in addition to web and desktop clients.

2. We are using Subversion for version control. Therefore "flat
directories" are desirable, versus VS's propensity to throw Solutions in a
completely different folder structure than the web service source code.

3. The previous release of the software was Windows Desktop only. We used
C# in VS 2003. I was looking for an excuse to move to VS 2005 for the next
release, and IIS and Virtual Directories were up to the task. I spent many
hours messing with permissions etc. but I could never keep working for more
than 5 to 10 minutes before Internet Explorer and/or FireFox would wait
forever for /localhost/... to return anything. I'd reboot and get another 5
to 10 minutes of work before IIS no longer played well with my code.

4. However, in VS 2003 it was a piece of cake to move the web service to a
web host. /localhost/... was impossible but e.g.
http://www.markjerde.com/zzztest/Web.../Service1.asmx was a piece of cake.
(Fake URL ;-)

5. In VS 2005 working locally is easy, but so far I have not been able to
get a single "Hello World" web service working on any .NET 2.0 web server.
I'm no doubt missing something simple, but I've looked through MSDN, a
couple .NET 2.0 books, and googled extensively. Frustration is mounting....
;-)

I have messed around with "Blank Solution" and can successfully create a
project with the .sln in the same folder as the .asmx file. It works when I
test it on my development computer. How can I publish this to a web
server?

Thanks.

-- Mark
Sep 7 '06 #3
Peter -- Good information. Thanks.

(Please have a look at my soon-to-be-posted laptop configuration problem
too... <g)

-- Mark

"Peter Ritchie [C# MVP]" <PR****@newsgroups.nospamwrote in message
news:EC**********************************@microsof t.com...
Before you get too much further you might want to have a look at the Web
Application Project add-in for VS2005 [1]. In VS2005 web services and web
sites are handled through the Web Developer functionality of Visual
Studio.
This, while value-added, is essentially a view of an external web site.
This
means it doesn't support version control, and gets a bit hairy if you're
planning on deploying as part of another deployment or part of an
automated
build.

The Web Application Project add-in restores the VS2003-like functionality
of
a "web project" (the Web Developer projects are really part of the
solution,
not the project.)

[1]
http://msdn.microsoft.com/asp.net/re...p/default.aspx
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

Sep 7 '06 #4

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

Similar topics

2
by: John Spiegel | last post by:
Hi all, I'm attempting to deploy a pretty simple web service to a shared web server that was built w/ Visual Studio. According to MSDN, I should be able to just copy the asmx and bin folder (w/...
2
by: PocketDeveloper | last post by:
I am an experienced developer...but a novice at creating web services, so please have mercy on me! Here is my question: I developed a fairly simple Webservice that returns a table from SQL...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
8
by: A.M-SG | last post by:
Hi, I understand that we can install SOAP extensions through web.config at the server side. How do I install them at the client proxy side? Thank you, Alan
1
by: Mr Bojangles | last post by:
Hi, I want a do the following: From a (client side) web form, post to server side script (I'm using Javascript but anything will do), which in turn--and this is the important bit that I...
2
by: Tedmond | last post by:
Dear all, When I develop my windows application, I access to my web service using internal IP. Now I need to deploy the application to remote site. The remote site connect to my web server...
2
by: hulinning | last post by:
Hi, I create my Webservice in 2003 VS and test in Windows 2000 and Windows XP Pro without any problem. When I deploy it over Windows 2003 server, It fails to connect to the WS. I got Anonymous...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file...
0
by: Saish | last post by:
Hi I developed webservice for dabase operations. i creatred virtual directory and i am able to run in our local ntewor but not able to run in remote server.. I want to deploy this service to...
4
by: Amirallia | last post by:
Hi, How can I deploy my Web service on IIS 6.0 ? I create a web service with VS 2005 on the local IIS, now I must deploy it on an intranet with IIS 6.0. But I can access this intranet, and I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.