?
Solved

Visual Studio Port for a WebService

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
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…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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