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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?