Does System.Web.Caching.Cache make sense in an ASP.Net MVC application?

Since ASP.Net MVC does not have a concept of sessions, and each request is independent of each other, would I use a Cache object for internal data caching to minimize db access? The output caching functionality is great for caching view data, but if I wanted to cache something like a user profile that should be shared between requests from the same user, what would I do?

thanks

+3
source share
2 answers

MVC... . , , ViewState, MVC.

+5

?

, .

0

Source: https://habr.com/ru/post/1702274/


All Articles