Getting familiar with the Kentico API
The API examples documentation helps developers learn the basics of the Kentico API and serves as a library of code snippets. The examples demonstrate how to use the API to manage the system's objects, including basic operations (creating, retrieving, updating and deleting) and in some cases more advanced tasks.
The examples are organized into the following categories:
- The API examples in the documentation do not include the required using statements for Kentico API namespaces. As long as your project references the Kentico libraries (or contains the Kentico.Libraries NuGet package), you can utilize the Visual Studio Quick Actions to quickly Generate usings.
- To inspect the example code directly in Visual Studio, find the files in the CodeSamples\APIExamples folder of your Kentico setup files (C:\Program Files\Kentico\12.0\ by default).