Download the sample
Using the sample
Memcahed Win32 is included in the solution and 2 instances can be started with memcached1.bat and memcached2.bat. Any activity can be monitored in the console windows.
NHibernate logs to a file called "NHibernateCacheExampleClient\log4net.log", and you should be able to see SQL executed against the database here.
The "Create" button creates a new Person with Id "1" and the name "John Doe".
The "Get" button loads a Person with Id "1".
If the cache is running and the Person is in the cache, the NHibernate log should not show any SQL execute and the memcached console should show activity.