I am considering using Windows Server Appfabric for it caching functionality. I have an existing classic ASP application that I want to rewrite in ASP.NET MVC. However, I want to be able to do this "piecemeal" i.e. a few pages at a time. The problem is session state between the ASP and ASP.Net MVC application. I could use a database but I would like to use Appfabric since it has good scalabilty, admin, etc. My question is: does the Appfabric caching service/functionality have an API that I could wrap in .Net and expose to my classic ASP application as a com object? I could then change all the Session and Application caching in the classic application to use the com object i.e. Appfabric. In this way I can share session state between ASP.Net MVC and classic ASP. I will have to test the performance penalty associated with interop as well.
A:
Hi There,
I recently attended Microsoft Tech'ed and did a small lab for AppFabric caching. It does expose an API which you can use. I am sure you can modify it and make it suitable to your app.
I would recommend you writing a small test app and there are few microsoft labs you can use to try the AppFabric caching API.
Thanks,
Nimesh
Nimesh
2010-09-06 06:32:17