Can I use NHibernate SysCache with Non-Web-Applica

2019-08-04 01:08发布

I have a Windows Service which is using NHibernate (3) and SQL Server 2008. WPF-Clients are connecting over WCF to this Service for using DataAccess. My question is now: Can I use SysCache or SysCache2 in this Scenario - or are they only usable in Web-/ASP.NET-Applications?

1条回答
干净又极端
2楼-- · 2019-08-04 01:36

Yes, it works just fine.

You can use it even in a console app if you want to (provided the computer has the full .NET Framework installed and not just the Client Profile).

查看更多
登录 后发表回答