开发者

How can I share application cache between two ASP.NET applications

Here's the deal,

I have one website over at utopiapimp.com. The website is used for a popular web based game. Some company internets don't allow the website to be accessed so I opened up another domain at utopiashrimp.com. Same website but a different iss application. Both have same database backends. They also both sit on the same virtual machine. I put my brand new code on shrimp and solve bugs with that code. I host the solid code on pimp. So I can't just forward the shrimp domain to pimp because I need a test bed.

The problem is that they don't share the same applic开发者_开发技巧ation cache. So my question is, can two websites share the same application cache? I really need to figure this out. I would rather not create a webservice and or a handler that one website needs to hit to change the cache on the other application. Any help on this would be great!

Thanks before hand.


I think you pretty much said it... application cache.... i think there is a security measure impelemented so that when you cache a variable for an application, other applications are not allowed to access that memory... you may have to use server session or since they use the same backend database, use that instead.


What you're asking is a little out there, and I don't have an exact response, but you COULD check out Windows Server AppFabric. You could potentially set up the AppFabric cache server on the machine you're currently using to host the applications. Provided your application is relatively well designed, you could simply update your data layer to cache using the AppFabric server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜