473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to change the URL that a Web app is published to in VS .Net

When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
..Net?

-Bennett
Nov 18 '05 #1
2 1143
"Bennett Haselton" <be*****@peacefire.org> wrote in message
news:e6*************************@posting.google.co m...
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
.Net?


You can use Project->Copy Project to copy the project files to different
servers. There is no way in the IDE to change the URL.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #2
You'll have to open the project from a new URL, say by copying or
deploying the entire site to a new server.

--
Scott
http://www.OdeToCode.com

On 17 Jul 2004 23:48:33 -0700, be*****@peacefire.org (Bennett
Haselton) wrote:
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
.Net?

-Bennett


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Ng | last post by:
I have posted this to the Citrix Developers' forum and have not heard anything yet. So I'd like to see if any other Java developers have experience this problem with their Java application in a...
23
by: Harry Haller | last post by:
How can I change the value in a css class? For instance, with I.E., I want to change the value in the class span.arr from middle to 0.2em. The value of middle is OK for most other browsers. I...
7
by: Adam Barnett via AccessMonster.com | last post by:
I have an Access application split into a FE and BE with a workgroup file (.mdw) for authentication. I currently have the FE application setup as a published application for 40 users. We have been...
52
by: lovecreatesbeauty | last post by:
Why the C standard committee doesn't provide a standard implementation including the C compiler and library when the language standard document is published? C works on the abstract model of low...
0
by: Beemer Biker | last post by:
I didnt see any "save solution" in the VS8 files menu where I can save the project solution to a different directory. My program needs to be checked into our source control system (Accurev) and...
5
by: John | last post by:
Hi When I try to install a published app using a url like http://www.mydomain.com/publish.htm, it starts the download but then comes up with the eror given at the end below. I am installing the...
1
by: Himmel | last post by:
Hello, I am using an access database to query a very large number of linked tables. Currently, the name of the database the linked tables point to is always the same name. However we are...
9
by: dominiquevalentine | last post by:
Hello, I'm a teen trying to do my part in improving the world, and me and my pal came up with some concepts to improve the transportation system. I have googled up and down for examples of using...
3
by: HugoVallejo | last post by:
Hi everyone. I've created an ASP.NET web site which uses a .NET assembly to read/write operations using an odbc driver. When a connection to the odbc database is made locking files are created, when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.