I need to create the separate ASP.NET Web API 2 Application for the Native mobiles Apps (Andriod and IOS), that will consume the Sitecore web application data.
Currently it’s on the same solution and exposed the APIs by controller and we are using the Sitecore context directly using DB.
Now, there are a couple of options to get Sitecore Data in separate application as below:
- Sitecore Item WebApi
- Direct Sitecore API using Sitecore Database and Sitecore reference.
What would be the best approach for this scenarios? Any suggestion
NOTE: My Sitecore instance and new Mobile API server will be on the same network and part of Subdomain