Solved

Visual Studio Port for a WebService

Posted on 2007-11-30
2
343 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
Comment Utility
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
Comment Utility


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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 30
Library to convert HTML to PDF. 8 44
c# code 19 56
Get String split 5 31
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

14 Experts available now in Live!

Get 1:1 Help Now