I'm writing an ASP.NET MVC5 Application, I know that the actions where session["foo"] = bar
are ran sequentially, now to avoid this, i want to store some informations into a MemoryCache object and not in session, but my doubt is: Is the cache managed like the session? So the actions where i put ObjectCache.Set("foo", bar, null)
are ran sequentially like for session?
I know the scope difference between cache and session but for me and in this case it's not important.
Thank to everyone