Install Sitefinity in MVC mode

Overview

Using this mode, your Sitefinity CMS can have MVC pages only. This mode uses the following setup:

Types of pages
rendered
ASP.NET MVC
Backend Sitefinity CMS
(running on ASP.NET framework 4.8)
Frontend Sitefinity CMS (running on ASP.NET framework 4.8,
rendering MVC pages
)

You can install Sitefinity CMS by installing Telerik.Sitefinity.All NuGet package on a blank web application.

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:

  1. Open Visual Studio.
  2. In the toolbar, click File » New Project…
    The Create a new project window appears.
  3. In the All languages dropdown, select C#.
  4. In the All platforms dropdown, select Windows.
  5. And in the All project types dropdown, select Web.
  6. From the list of projects, select ASP.NET Web Application (.NET Framework).
  7. In Project name, enter a name of your project.
    For example, enter SitefinityWebApp
  8. Choose a location to store your project.
  9. Enter a name for the solution.
    For example, enter SitefinityWebApp
  10. In Framework, select .NET Framework 4.8.
  11. Click Create.
  12. In the window that appears, select Empty and click Create.

Configure Sitefinity NuGet repository

In Visual Studio, perform the following:

  1. In the toolbar, click Tools » NuGet Package Manager » Package Manager Settings.
  2. In the left pane, expand NuGet Package Manager.
  3. Select Package Sources.
  4. Add a new source by clicking the plus button.
  5. In Name, enter Sitefinity Nuget
  6. In Source, enter https://nuget.sitefinity.com/nuget
  7. Click OK.

Install Sitefinity CMS

In Visual Studio, perform the following:

  1. In the toolbar, click Tools » NuGet Package Manager » Package Manager Console.
    The Package Manager Console opens.
  2. In Package source, select Sitefinity Nuget.
  3. In Default project, select the empty project that you have created.
  4. 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.

  5. Wait until Sitefinity CMS is installed on your empty project.
  6. Build your solution.

Setup the project

  1. Open the project in Visual Studio.
  2. In the Solution Explorer, open the context menu of your newly created project.
  3. Click View » View in browser.
    Your project starts in a browser.
  4. Install your license.
    After the project initialized in the browser, the License activation page appears.
    Perform procedure Activate a license.
  5. Setup the project.
    After you activate your license, the Project Startup page appears.
    Perform procedure Setup the project.
    Sitefinity CMS Dashboard appears.

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?