Create Add-ons in Continuous delivery

The following chart demonstrates how to develop and test an add-on in a continuous delivery process:

Continuous delivery - Add-on development

To properly develop, test, and deliver an add-on, we recommend using the following continuous delivery process:

PREREQUISITES: You have setup Continuous delivery.
For more information, see Setup the Continuous delivery process.

Development environment

  1. Develop the add-on in your local development environment.
    Use a solution, containing an empty Sitefinity CMS web application, which directly references all custom projects that are part of the add-on. Use an empty database.
    For more information, see Best practices: Add-on development.
  2. Store the solution in a source control system, such as Microsoft TFS.
  3. Use an automated build, such as MSBuild that is integrated with the source control system.
  4. Execute Unit tests.
  5. Export the add-on.
  6. Edit the .nuspec file.
  7. Create the NuGet package.

Test environment

  1. Install the add-on NuGet package on a test environment.
    For more information, see Install add-ons.
    The test environment must also use an empty Sitefinity CMS web application and an empty database.
  2. Open the test environment and activate the add-on.
    For more information, see Activate an add-on.
  3. Perform UI automation tests, manual tests, performance tests, and security tests.

RESULT: After the add-on passes all test, you can release the NuGet package, so that it can be installed in another Sitefinity CMS project.

If any of the tests fail, go back to your development environment, fix the problem and perform the above procedure again.

This section contains

Export the add-on
After you develop an add-on that you want to distribute, you export from your Sitefinity CMS only the part that you want to distribute.
Edit the .nuspec file
After Sitefinity CMS automatically creates the .nuspec file, you should manually edit it to prepare it for NuGet package generation.
Create the NuGet package
After you have exported your Add-on and edited the .nuspec file, you need to generate a NuGet package out of it.
Manage add-on dependencies
Learn about third party dependencies and Sitefinity CMS assemblies dependencies.
Create Add-ons in Continuous delivery
Develop and test an add-on in a continuous delivery process.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.