Creating the project
To create a project for the custom module, perform the following:
- Open the Sitefinity Project Manager.
-
Select the desired Sitefinity application.
It is recommended to develop your module in a clean Sitefinity application. After finalizing the module you can reuse the dll in other Sitefinity applications.
- Go to Actions » Edit in Visual Studio.
- Save the solution, which the Sitefinity project has been opened in by pressing CTRL+SHIFT+S or by selecting File » Save All from the menu.
- Choose a location and a name for the solution and click Save.
- From the main menu, click File » Add » New Project.
-
From the dialog click Visual C# » Windows » Class Library.
-
Name the project ProductsModule and click Add.
A project with a single class file is generated in the solution.
- Delete the Class1.cs file from the ProductsModule project.