Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > custom control that uses a web service

Reply
Thread Tools

custom control that uses a web service

 
 
Jon Paugh
Guest
Posts: n/a
 
      11-18-2003
Several of our applications here all have a need for a
control that will allow users to see a tree view of the
organizations that are in our company (organizational
structure). Currently I have created a user control to do
this. This user control is only in one solution so far and
it uses a web service (thru a web reference) in this one
solution to get the data.

So now I am wondering how to allow multiple applications
to use this same control. I am thinking about switching to
using a custom control rather than a user control.

My questions are:

1) Do I really want to create a seperate project just for
my custom control? I have seen this listed as a feature. I
have some other classes already that are global (used by
multiple solutions). Why would I put this custom control
in its own seperate dll instead of within the global
project I already have?
2) Do I want to add a web reference to the web service
inside the custom control's dll? The web service that this
custom control uses is already referenced thru web
references in several applications now. What if the box
that the web service sits on is changed? Yuck! Any tips on
good ways to manage all the web references. (I suppose if
other people were consuming this web service outside my
organization this would be THEIR problem, but we have
several applications all consuming the same web service).
I am considering adding a delegate to the custom control
and then having whoever is using the custom control set
this delegate? Thoughts, suggestions?

Thanks,

Jon Paugh


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Error Consuming Web Service from WIndows application when WebService is using Custom Service Account ( Create an Application Pool with a Custom Identity) DNB ASP .Net Security 1 01-22-2008 09:08 PM
Error Consuming Web Service from WIndows application when WebService is using Custom Service Account ( Create an Application Pool with a Custom Identity) DNB ASP .Net Web Services 1 01-20-2008 01:47 PM
Indexing services under Windows XP SP2 - Can I disable MS Indexing Service to hasten Google's OR does Google Desktop uses this MS Indexing Service? ricardodefaria Computer Support 6 08-05-2007 04:14 AM
ControlDesigner not invoked on custom control when control is rendered within another custom control Matt Sokol ASP .Net Building Controls 2 08-07-2003 07:13 AM



Advertisments