Solved

Visual Studio Port for a WebService

Posted on 2007-11-30
2
373 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What Does This C# Code Block Do? 5 73
c# - Best approach for objects in functions 3 28
Upgrade code from VS 2010 to VS 2015 7 34
C# Service FileSystemwatcher isse 9 47
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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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