WebAPI Service

Topics: Customizing Orchard, Writing modules
Jan 20, 2015 at 6:27 AM
hi guys
i have question related to custom development with Orchard CMS
i'm writing custom web service that will fetch some data from external database source and generate json
and i have to use this data json as custom authentication login inside and return related data for each authorized user using api key from my service

at the same time i have my database related to my CMS i have to create module that will use this my web service as normally http request and response with authentication api key not related to login for admin CMS panle

how can implement this and i have multi database source at the same time and i have to implement web service that will talk database seperate from CMS database and with authentication

anyone has any idea about this or i'm in wrong way for this implemention structure