ASP.NET Cache Class - are there any differences between ASP.NET 3.5 and ASP.NET 4.0?

Are there any significant differences between the ASP.NET Cache class from ASP.NET 3.5 to 4.0?

+3
source share
2 answers

I do not think that there are any significant differences; however, there is a new class called MemoryCache.

ASP.NET 4 adds extensibility to output caching, which allows you to configure one or more custom output cache providers. Output cache providers can use any storage engine to store HTML content. These storage options may include local or remote drives, cloud storage, and distributed caching mechanisms.

...

ASP.NET (). , --. Windows Forms WPF System.Web.dll, ASP.NET. ,.NET Framework 4 , , . System.Runtime.Caching.dll API System.Runtime.Caching. : , . ( MemoryCache).

MemoryCache ASP.NET, ASP.NET. API- System.Runtime.Caching , Cache ASP.NET, API.

http://msdn.microsoft.com/en-us/library/s57a598e.aspx

+4

Raj :

MemoryCache ASP.NET. MemoryCache , , Cache ASP.NET. Cache MemoryCache , MemoryCache , .NET Framework, ASP.NET. , MemoryCache System.Web. , MemoryCache AppDomain.

http://msdn.microsoft.com/en-us/library/system.runtime.caching.memorycache.aspx

+2

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


All Articles