ASP.NET cache in a console app?
-
26-05-2021 - |
Frage
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 ?
Lösung
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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow