This simple package enables access to Umbraco's Services from outside of Umbraco.
We created this package to simplify our LinqPad scripts that access Umbraco's Service APIs (Umbraco 6+). The package is simple to use in your own code.
- Get the source, or add the NuGet package to your project.
- Make sure that your applications config contains a connection string for "umbracoDbDSN", which points to an Umbraco 6+ database.
- In your code, create a new ServiceAccess object, which acts as a wrapper to the Umbraco ServiceContext:
var Access = new ServiceAccess();
var ContentPage = Access.Services.ContentService.GetById(1000);