The purpose of this sample is to show the creation of a Sitefinity content module. The content module similar to the built-in News module in Sitefinity. We highly recommend using Module Builder to create modules that manage content. The built-in module builder can address all of the needs for managing content and updates will be provided to it with each Sitefinity release and is the best way to go in terms of managing content in the long run. To move the configurations for module builder modules between different deployment environments refer to this documentation or to setup continuous delivery refer to this guide.
The sample presented here can be used as a reference to how Sitefinity content modules are created, but for actual use of content module it is best to use Module Builder module.
This repository is not automatically upgraded to latest Sitefintiy version. The repository is monitored for pull requests and fixes. The latest official version of Sitefinity that supports this sample is 9.1. Be aware that using a higher version could cause unexpected behavior. If you successfully upgrade the example to a greater version, please share your work with the community by submitting your changes via pull request.
The Products sample project is a module that provides product listings built on top of a native content-based module in Sitefinity CMS. Content-based modules themselves are based on Generic Content and reuse much of the functionality available for generic content.
The Products sample demonstrates comprehensively the features of a content-based module that has all built-in functionality of a native Sitefinity CMS module.
Using the Products sample, you can:
- Set up the solution
- Build the model
- Implement the data access layer
- Implement the module class
- Implement services
- Implement module configuration
- Provide localizable resources
- Create the UI of ContentView
- Creat Widget definitions
- Sitefinity CMS license
- .NET Framework 4.5
- Visual Studio 2012
- Microsoft SQL Server 2008R2 or later versions
Clear the NuGet cache files. To do this:
- In Windows Explorer, open the %localappdata%\NuGet\Cache folder.
- Select all files and delete them.
The solution in this repository relies on NuGet packages with automatic package restore while the build procedure takes place.
For a full list of the referenced packages and their versions see the packages.config file.
For a history and additional information related to package versions on different releases of this repository, see the Releases page.
- In Solution Explorer, navigate to SitefinityWebApp » App_Data » Sitefinity » Configuration and select the StartupConfig.config file.
- Modify the connectionString value to match your server address.
For version-specific details about the required Sitefinity CMS NuGet packages for this sample application, click on Releases.
To login into the Sitefinity CMS backend, use the following credentials:
Username: admin
Password: password
Progress Sitefinity CMS documentation