Repository for the Web Service

May 26, 2014 at 1:05 AM
I have been using this framework as the database access layers for a new project I am working on and finding it very helpful. Thanks for that.

I'm also planning to use a web api for a service significantly for this project. Specifically, I am planning to use the evernote api. The API reference is here:

I'm wondering if it is possible or advisable to try and work the evernote api into this framework. It is doing things similar to the EF ORM objects that I use from my SQL SERVER database. It would be convenient to use a similar api for the evenote access as well. It has entities like Note, Notebook, Tag, etc... It does not have an object context where it stores records locally, and calls to UnitOfWork don't make sense as-is. I assume support for that would have to be written by me if I wanted it.

I'm using the framework successfully, but do not fully understand all the ins-and-outs of it yet, so I thought I'd ask here for some wisdom. Does it seem worth it to integrate the evernote api to be used by this framework? What all would have to be implemented to make that happen and how would you suggest it be done?

Jun 3, 2014 at 7:12 PM
You should implement the Service Pattern and warp all things from the Evernote API there e.g. EvernoteService, IEvernoteService.
Marked as answer by lelong37 on 6/3/2014 at 11:12 AM