473,804 Members | 3,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 965
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.Ur l = "http://www.mywebapp.co m/service/mywebservice.as mx"

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Sachin" <an********@mic rosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.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
1747
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 application that call XML Web Service, we have to add web reference, right? But now I don't know the way how to build it to be dynamic. I mean when I deploy my application to another environment, how can my application know URL of XML Web Service if...
3
2181
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 no-touch-deployment. Could anyone give me directions to documentation piece (or article) that explains how to implement app .config file reading in no-touch-deployment ? (just to clarif the issue, my app is not ASP.NET) I'd appreciate any help, thank you....
1
2738
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 doing the following steps: 1. add a web setup project called "testaddr". 2. in file system window, select Web Application folder. 3. in the left pane of the file system window, right-click web application, point to add, and then click output...
2
1391
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 deployment over Internet Explorer the clients do not get the server events any more and no exceptions are thrown. The clients have FullTrust permission. Are callbacks/events supported by No-Touch deployment? Regards /Niklas
1
3476
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 doing the following steps: 1. add a web setup project called "testaddr". 2. in file system window, select Web Application folder. 3. in the left pane of the file system window, right-click web application, point to add, and then click output...
1
995
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 with the deployment. I have a Web Application and a Web Service associated with the Web Application and each of these have a ther own web.config files. Now i want to deploy both the application together but the problem is the there are database...
3
1200
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 requirement comes from the deployment (installation) of
0
1718
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 machine that can be accessed by the application and also a service that is also installed and started by the installer. Both application and service need read/write/modify permissions for admins and users. I have tried to use the "all users" common...
1
947
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. But I think it make more sense that deploying diffenrent application/web service as separate web site, so that it's easy for us to maintain later on. Is there any rule or industry standard for the deployment? Thanks.
0
9591
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.