Hi everyone!
I'm building a single page application integrates with Dynamics CRM 2015 On-premise for a sales team to take sales orders remotely using tablets.
I have a doubt with handling the OrganizationService connection through CRM SDK. The context is the following:
I have a front-end, built with Angular and WinJS, and the back-end is a bunch of CRUD operations in a Web API using C#. These operations execute different actions in the CRM Organization. Besides, each sales person has a unique CRM System User. I built the back-end to use OAuth authentication with bearer token. But now, I have doubts for handling the OrganizationService instance for each user. When a sales person log in into the app, I have to check if the user is valid and get an OrganizationService object to execute all the operations the user is going to do.
My question is, How can I handle the OrganizationService instances for each user?
I thought to do this through a connection pooling. Any other ideas?
Thanks in advance
*This post is locked for comments
I have the same question (0)