Install Sitefinity in MVC mode
Overview
Using this mode, your Sitefinity CMS can have MVC pages only.
You can install Sitefinity CMS in two ways – you can install Telerik.Sitefinity.All
NuGet package on a blank web application or you can use Sitefinity CMS Project Manager.
RECOMMENDATION: We recommend installing Sitefinity CMS using the NuGet package.
NOTE: To install Sitefinity CMS using NuGet, you must use Visual Studio 2017 or later. This article uses Visual Studio 2019 as a reference.
To install Sitefinity CMS in a blank web application using a NuGet package, perform the following:
Create a blank web application
To do this, perform the following:
- Open Visual Studio.
- In the toolbar, click File » New Project…
The Create a new project window appears.
- In the All languages dropdown, select C#.
- In the All platforms dropdown, select Windows.
- And in the All project types dropdown, select Web.
- From the list of projects, select ASP.NET Web Application (.NET Framework).
- In Project name, enter a name of your project.
For example, enter SitefinityWebApp
- Choose a location to store your project.
- Enter a name for the solution.
For example, enter SitefinityWebApp
- In Framework, select .NET Framework 4.8.
- Click Create.
- In the window that appears, select Empty and click Create.
Configure Sitefinity NuGet repository
In Visual Studio, perform the following:
- In the toolbar, click Tools » NuGet Package Manager » Package Manager Settings.
- In the left pane, expand NuGet Package Manager.
- Select Package Sources.
- Add a new source by clicking the plus button.
- In Name, enter Sitefinity Nuget
- In Source, enter https://nuget.sitefinity.com/nuget
- Click OK.
Install Sitefinity CMS
IMPORTANT: When installing Sitefinity CMS 15.3 via NuGet packages, you must use the console and include the following flag to the command: -IncludePrerelease
. For instance: Install-Package Progress.Sitefinity.Headless -IncludePrerelease.
In Visual Studio, perform the following:
- In the toolbar, click Tools » NuGet Package Manager » Package Manager Console.
The Package Manager Console opens.
- In Package source, select Sitefinity Nuget.
- In Default project, select the empty project that you have created.
- Depending on whether you want to install the full Sitefinity CMS package or a light version:
- To have all Sitefinity CMS modules installed in your project, install the
Telerik.Sitefinity.All
package by entering in the console: Install-Package Telerik.Sitefinity.All
- To have only the core Sitefinity CMS modules installed in your project, install the
Progress.Sitefinity
package by entering in the console: Install-Package Progress.Sitefinity
NOTE: With these commands, you install the latest patch build. If you want to install a specific version, you must use the command followed by -Version
and the version number.
For example, enter Install-Package Telerik.Sitefinity.All -Version 14.4.8100.0
Proceed by adding any of the desired additional Sitefinity CMS modules. For more information, see Work with decoupled modules.
- Wait until Sitefinity CMS is installed on your empty project.
- Build your solution.
Setup the project
- Open the project in Visual Studio.
- In the Solution Explorer, open the context menu of your newly created project.
- Click View » View in browser.
Your project starts in a browser.
- Install your license.
After the project initialized in the browser, the License activation page appears.
Perform procedure Activate a license.
- Setup the project.
After you activate your license, the Project Startup page appears.
Perform procedure Setup the project.
Sitefinity CMS Dashboard appears.
Other installation files
To access additional installation files that are used for authentication and debugging visit http://www.telerik.com/account/ to access your account. When you open your account, navigate to Downloads and select your Sitefinity CMS license. There you may access the following files:
Setup files |
What they contain |
SitefinityStsWebApp_x_x_xxxx.zip |
Sitefinity claims issuer that enables you to customize authentication (optional). You can download it as a project, open it, and see all files that you can modify and customize. By default, Sitefinity has built-in authentication services
For more information, see Set up the STS with Windows authentication
|
Sitefinity_x_x_xxxx_PDBs.zip |
Program database (PDB) files that hold debugging and project state information that allows incremental linking of a Debug configuration of your application. |