471,350 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 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 3831
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Leslaw Bieniasz | last post: by
3 posts views Thread by vodafone | last post: by
15 posts views Thread by rwf_20 | last post: by
1 post views Thread by Jim Douglas | last post: by
2 posts views Thread by Sam Santiago | last post: by
reply views Thread by Pascal Costanza | last post: by
7 posts views Thread by msdev | last post: by

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.