0

I have a DLL I developed and 2 web applications uses it. I want this DLL to store data in the cache but I want it to use its own cache and not duplicated it among the 2 web apps...

how can that be done? since HttpContext.current will reference to the current cache application (which in my case is 2).

I do not want duplications.

Thanks

1
  • can u add more details of that dll Commented Feb 6, 2012 at 5:59

1 Answer 1

2

One way is to wrap your DLL in a Windows Service, and have your ASP.NET applications interact with it using named pipes or something similar.

You could also use web services by exposing your DLL through a website or web application of its own. It could be bound to localhost only, to prevent remote access.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.