Solved

Visual Studio Port for a WebService

Posted on 2007-11-30
2
355 Views
Last Modified: 2010-04-15
I have run into a problem with WebServices and Visual Studio where it places a port in various places within my code. eg: app.config and various other locations.

Is there anyway to get Visual Studio update this port to the current solution port on each build? (There are 2 other developers working on this WebService and the conflict in ports is causing some issues)

0
Comment
Question by:directxBOB
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
badbearontour earned 500 total points
ID: 20381893
You can force VS to use a specific port for each build.... if all 3 of you use the same port, I think that will give you what you need.

Its held in the properties of the project.

theres 2 steps

first select "Use Dynamic ports" to false --> this will enable the 'port number' text box --> then type in a common port number that each programmer can use

hope that helps you

BB
0
 
LVL 7

Expert Comment

by:badbearontour
ID: 20381902


Its held in the properties of the project. >> right mouse click in soilution explorer on your project and select properties


just for completeness

BB
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now