473,385 Members | 1,606 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,385 software developers and data experts.

Deployment: ASP.NET application with Web Service

Hi All,

I my dev. env I got,

ASP.NET Web Service, Virtual Directory: X
ASP.NET App, Virtual Directory: Y

Both these projects are part of the same solution and ASP.NET app contains a
reference to the web service.

Now, I want to create a setup/deployment project and install it on another
machine.

On this machine user should be able to specify the virtual directory for Web
Service and ASP.NET application.
However, ASP.NET application should now refer to this web service and not on
the original dev. machine where it was created.

How and where can I configure this so that ASP.NET application will
automatically talk to this newly deployed web service?

Any help or pointer?

Thanks in advance
Sachin
Nov 19 '05 #1
1 942
Sachin,

In your code you can tell ASP.NET what the url of a webservice it should
connect to is like so:

Dim MyWebService As New WebServiceName
MyWebService.Url = "http://www.mywebapp.com/service/mywebservice.asmx"

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Sachin" <an********@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi All,

I my dev. env I got,

ASP.NET Web Service, Virtual Directory: X
ASP.NET App, Virtual Directory: Y

Both these projects are part of the same solution and ASP.NET app contains
a
reference to the web service.

Now, I want to create a setup/deployment project and install it on another
machine.

On this machine user should be able to specify the virtual directory for
Web
Service and ASP.NET application.
However, ASP.NET application should now refer to this web service and not
on
the original dev. machine where it was created.

How and where can I configure this so that ASP.NET application will
automatically talk to this newly deployed web service?

Any help or pointer?

Thanks in advance
Sachin

Nov 19 '05 #2

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

Similar topics

1
by: Teeravee Sirinapasawasdee | last post by:
Hi, all After I have learnt about XML Web Service, I have questions about deploying XML Web Service and application that call the XML Web Service. When we develop windows application or web...
3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
2
by: Niklas | last post by:
Hi I have a remoting client/server application. The clients subscribes to a server event. All works fine if client is used as a window application, but when the client is used with No-Touch...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
1
by: apondu | last post by:
Hello friends.. I needed some help on ASP.Net web application along with its web service deployment I have a situation where i am not able to understand and confused a bit on how to proceed...
3
by: DGleeson3 | last post by:
Hello All Hope Im posting in the right place. If not please point me elsewhere. We are developing a reasonably standard Web application. VS2005 ASP.NET SQL server 2005. The unusual...
0
by: Sid Price | last post by:
HI, I am not sure this is the correct place to raise this question, please redirect me if not. I have a VB.NET application with a deployment project. I need to create a folder on the target...
1
by: =?Utf-8?B?d2lsbGlhbQ==?= | last post by:
Hi All, I've seen a lot of articles which show you how to deploy asp.net web application and web service, but all of them deploy application/web service under default folder virtual directory....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.