ASP.NET cache in a console app?
-
26-05-2021 - |
Domanda
I have a console command line app that use NHibernate . I am trying to use second level caching . Is it possible to use NHibernate SysCache or SysCache2 , which have dependency on ASP.Net cache ( System.Web.Caching.Cache ) ? Do I need IIS to use ASP.net cache ?
Soluzione
Yes, you can use it outside of ASP.net.
NHibernate which cache to use for WinForms application
and
http://www.hanselman.com/blog/UsingTheASPNETCacheOutsideOfASPNET.aspx
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow