Create add-ons

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.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?