472,995 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Dynamic WebProxy (Object) Creation Within C#

I have a requirement to dynamically create a webProxy object in C#. I have
created an instance of the webProxy and stored it within a hashtable then
placing the hashtable in cache. When required I can read the application
cache and extract the hashtable but I can't figure out how to "create" the
object now? Someone at the office told me this would work and I'm thinking
we are missing something, maybe I should serialize it?

I am trying to create cacheManager object that would be used across numerous
different .NET applications. I want it to be generic enough so that each
application stores the relevant webProxies, with the corresponding method
name in cache, my cacheManager would read them, create the object, and
execute the method to gather the data, finally placing the data in cache for
everyone to utilize.

Any link, comments, suggestions would be appreciated, also if anyone has a
better idea? It's sucks not having access to newsgroups at the office!
Thanks!

Aug 3 '05 #1
1 3903
Hi Jim,

Regarding this issue of creating the cache manager object, I would like to
tell you that Cache Manager object is normally created in the
Application_OnStart event and some additional Com components are also needed
such as Loader and Writer compoents, whose job is to populate the caches
woth the data and write the data that has been collected in the cache.

The Loader component is necessary and the Writer component is optional. To
gain a better insight into this issue, I would request you to please refer
to the following article :
http://msdn.microsoft.com/library/de...seobj_tcew.asp

Hope this helps.

Best Regards,
Mona [Grapecity]

"Jim Douglas" <ja***********@genesis-software.com> wrote in message
news:Mp********************@comcast.com...
I have a requirement to dynamically create a webProxy object in C#. I have
created an instance of the webProxy and stored it within a hashtable then
placing the hashtable in cache. When required I can read the application
cache and extract the hashtable but I can't figure out how to "create" the
object now? Someone at the office told me this would work and I'm thinking
we are missing something, maybe I should serialize it?

I am trying to create cacheManager object that would be used across numerous different .NET applications. I want it to be generic enough so that each
application stores the relevant webProxies, with the corresponding method
name in cache, my cacheManager would read them, create the object, and
execute the method to gather the data, finally placing the data in cache for everyone to utilize.

Any link, comments, suggestions would be appreciated, also if anyone has a
better idea? It's sucks not having access to newsgroups at the office!
Thanks!

Aug 4 '05 #2

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

Similar topics

4
by: Leslaw Bieniasz | last post by:
Cracow, 20.10.2004 Hello, As far as I understand, the generic programming basically consists in using templates for achieving a static polymorphism of the various code fragments, and their...
3
by: vodafone | last post by:
Hy all I've a little problem. I need to write a dynamic page that render control according to validation status return from previous control validation status. To be clear, I've page that...
15
by: rwf_20 | last post by:
I just wanted to throw this up here in case anyone smarter than me has a suggestion/workaround: Problem: I have a classic producer/consumer system which accepts 'commands' from a socket and...
1
by: Jim Douglas | last post by:
I have a requirement to dynamically create a webProxy object in C#. I have created an instance of the webProxy and stored it within a hashtable then placing the hashtable in cache. When required I...
2
by: Sam Santiago | last post by:
I am using the WebProxy.GetDefaultProxy() function to read the IE settings, but it's returning an empty WebProxy object. Are there any known reasons why this is not reading the proxy settings in IE...
0
by: Pascal Costanza | last post by:
Dynamic Languages Day @ Vrije Universiteit Brussel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Monday, February 13, 2006, VUB Campus Etterbeek The VUB (Programming Technology Lab,...
7
by: msdev | last post by:
Hello, I am creating my own webbrowser to learn VB .Net. I am stuck on an issue with regards to dynamically-created controls, in this case tabs on a tabcontrol and webbrowsers created within...
7
by: djc | last post by:
I see many ways to accomplish setting up proxy settings for a web request in the documentation but many of them are marked as obsolete. 1) What is the current and correct way to tell all my...
1
by: cdmsenthil | last post by:
I have an Infragistics UltrawebGrid . Each Row in the grid is attached to a context menu using Infragistics CSOM Upon click on the menu, I am creating an Iframe dynamically which points to...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.