Using the Sitecore Database in Web API

Web API has no access to the current Sitecore Context your page is in. With that said, there's no stopping you from creating an instance of the database on the fly as long as you know which database your site is using. You can either create a config value so you know which database name … Continue reading Using the Sitecore Database in Web API

Advertisements