[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Visual Studio Port for a WebService

Posted on 2007-11-30
2
Medium Priority
?
385 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 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