Azure newby! Persist an object across multiple Azure WCF Service Calls.

I have created a small .NET Library (DLL) which does custom calculations and such.

I would like to create an Azure WCF service which basically wraps this libraries API.

The library, by necessity, is setup like an engine that must be initialized before use, so I don't want each and every service call to instantiate its own copy of the library. Is there a way to have the first call instantiate the library and then persist it somewhere so that other service calls will just use the same instance?

April 30th, 2015 12:01pm

This sounds like you need to cache the objects outside of the service.

The recommended way for caching objects in Azure is using the Redis cache:

http://azure.microsoft.com/en-us/services/cache/

Niall Moran

I hope this helps

Free Windows Admin Tool Kit Click here and download it now
July 17th, 2015 9:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics