473,756 Members | 4,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web References? Why do I have to update?

Hello,

I have a VB.Net solution with 3 projects in it

One is a webservice
One is a Business Logic Layer
One is a User Interface layer

When ever I change the webservice I have to click on 'Update web references'
in my Business Logic Layer to get all my webmethod functions.

I was wondering, is there away to avoid this? they are in the same solution?
Why cant it just get the stuff from there? If so, does anyone know how I can
do that?

Its slow and a real pain :(

Thank you kindly for any ideas
John Sheppard

Nov 23 '07 #1
1 1357
Hi,

A proxy class is generated from you web service. So when you update your web
reference a new proxy class is genrerated with the latest methods. If you
dont update your web reference you will potentially be using an out of date
proxy class. That will be of no use when i comes to actually calling one of
your web methods if the methods in your application and those on the server
are different.

Dave

"John Sheppard" wrote:
Hello,

I have a VB.Net solution with 3 projects in it

One is a webservice
One is a Business Logic Layer
One is a User Interface layer

When ever I change the webservice I have to click on 'Update web references'
in my Business Logic Layer to get all my webmethod functions.

I was wondering, is there away to avoid this? they are in the same solution?
Why cant it just get the stuff from there? If so, does anyone know how I can
do that?

Its slow and a real pain :(

Thank you kindly for any ideas
John Sheppard

Nov 26 '07 #2

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

Similar topics

3
1562
by: Bryan | last post by:
This is for a utility that I am writing to update all of our Excel reports. I currently have a form with a couple list boxes and browse buttons. One browse button allows the user to add the XLS files they want to update and inserts the paths into the corresponding list box. The second browse button allows the user to select the module (BAS, CLS, FRM) files they wish to insert or update in those Excel files and put them into the other list...
1
2107
by: Amos | last post by:
My Solution has three different projects: GUI, Api, Match. Project GUI includes a reference to Match.dll and Project Match includes a reference to Api.dll . Project Api doesn't include any references. Technically, GUI calls on classes/methods in Match, and Match calls on classes/methods in Api. Api doesn't include user-defined references. With Configuration Manager in "Release" (and all the projects in Release as well), when I rebuild...
2
1901
by: Sauli V | last post by:
I've got a form code from which I call ExcelObject class to perform writing to Excel and saving the sheet. The process is too slow and I'd like to update my form's status bar's panel with number of records processed. My question is since the form and ExcelObject are functionally separate (encapsulation), how can I update status bar panel from Excel object? C# supposedly has references but only for passing variables to methods. I can...
14
2961
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will utilise the disco file to update the Corresponding proxy file and reflect the changes made to the web service. However, the results of doing this with out params is that the results seem
4
1145
by: marked23 | last post by:
I have a project that contains 400+ web references. When I go to do a new build, I need to update all the web references to pick up any changes in the web services they reference. I select the top one, and shift-select the bottom one... then click "update." Visual studio goes through every web reference in turn, doing an update for each one. It also appears to spawn a background thread (or pool of threads) for each update. When...
7
3826
by: penguin732901 | last post by:
I update code on several machines and find myself constantly correcting references (e.g. Word 11 to Word 9, adding ADO x.x library, sometimes even Jet Expression Service Type Library) when I copy the newest version to another machine. Some run Windows 2000, some XP, various versions of Office. I need a method of doing this in code when the start screen is loaded: 1. checking the current computer for the latest version of all needed...
4
10340
by: iKiLL | last post by:
Hi all, I am using C# on VS2005. I have a solution with 2 projects, a Webservice and a Client application. Both of these to projects can build compile and run.
3
2115
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our code, but this becomes problematic when you want to build from multiple branches/working directories. Any thoughts on this would be appreciated. Thanks
0
5697
by: jappenzeller | last post by:
We're using the HttpRuntime Cache for our objects and we're trying to do the following. We pull lists of objects from the database and put them in cache. We put a reference to the list in cache, but we also put references to the individual items so we can access them without having to search the lists. The objects and lists each have unique identifiers. The issue is when we want to update the object. Lets say we pull an individual...
3
1494
by: mk | last post by:
Hello everyone, I'm storing functions in a dictionary (this is basically for cooking up my own fancy schmancy callback scheme, mainly for learning purpose): .... return "f2 " + arg .... .... return "f1" + arg ....
0
9456
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9873
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...
1
9846
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8713
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
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
3359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
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.