Skip to content

Instantly share code, notes, and snippets.

@SitefinityGuru
Created November 28, 2012 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SitefinityGuru/4158965 to your computer and use it in GitHub Desktop.
Save SitefinityGuru/4158965 to your computer and use it in GitHub Desktop.
Using the Sitefinity Fluent API With a Different Provider
var providerName = "MyCustomProviderName";
using (var api = App.Prepare().SetContentProvider(providerName).WorkWith())
{
// do stuff with api
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment