Yes you can, I've done this with a windows app recently.
My win app connects to a service that runs on the application server. The service contains my DAL code and handles all the db connections etc. Within the service, I have a 'cached data' section that works like this...
|