Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Cache support?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Carel Lotz - 01 Nov 2004 14:31 GMT
Hi All

We have a requirement to provide transport independant services within our
organization and thus have implemented some services using the SOAP messaging
provided by WSE 2.0 SP1.  Our services are exposed via a Service Inteface
Layer that runs on top of our Domain Object Model.  The Service Inteface
Layer instantiates the relevant DOM objects and use them to gather
information, execute validations etc.  The data contained within the DOM
represent our product rules and is read-only data.  Some rules are also
implemented as relationships between different DOM objects.  The same DOM
objects instances can thus be shared across all calls coming from the Service
Interface Layer.

To prevent from having to re-build the DOM with every service call, we would
like to be able to cache the parts of DOM as they are used for the first
time.  Subsequent service calls therefore will get the DOM objects out of the
cache and not have to spend time re-assembling the same object instances into
memory.

With ASP.NET web services this is possible using the HttpContext.Cache
object that you receive as the ASP.NET web service infrastructure.  However,
with WSE 2.0 that can be hosted outside IIS, this is obviously missing.  How
can one implement functionality like this using WSE 2.0?  What would be the
right way to design for this?

Regards

Signature

Carel Lotz

Martin Kulov - 01 Nov 2004 18:48 GMT
Hi Carel,

I am not aware of any cache functionality in WSE2.0. You can implement COM server that manages the cache for you. It can be very light one also.

Regards,
Martin Kulov
www.codeattest.com
Fraser - 02 Nov 2004 00:04 GMT
Take a look at Microsoft.ApplicationBlocks.Cache

Fraser.

> Hi All
>
[quoted text clipped - 22 lines]
>
> Regards

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.