Skip to main content

Posts

Showing posts with the label SitecoreRepository

Set up Visual Studio MVC Solution for Sitecore development

  Prerequisites: Sitecore (I have used Sitecore 10.3 in this example) Visual studio (Visual studio 2019) with Sitecore installed .Net 4.8 Checkout  Sitecore compatibility table for Sitecore XP 9.0 and later Set up a Visual Studio project To set up a Visual Studio 2019 project for Sitecore MVC: Open Visual Studio 2019 as an Administrator and click Create a new project  In the Create a New Project dialog, add filter C#, Windows ,Web now scroll and Select ASP.NET Web Application and click on Next In the Configure your New Project dialog, write the Project name and make sure to select .Net Framework 4.8 then click on Create . In the Create a new ASP.NET Web Application dialog, select Empty and check MVC then click on Create .  Following structure will be created. Delete App_Start folder we will not use it.  Copy the  Global.asax   and Web.config file from the Website folder of the Sitecore installation. Now write click on the solution and click ...

How to Add Sitecore's NuGet Repository To Visual Studio

Sitecore maintains its NuGet repository at https://sitecore.myget.org/gallery/sc-packages . To include Sitecore packages in Visual Studio , you must add this repository to your package sources. Step-by-step instructions: 1. Launch Visual Studio. 2. Open the " Tools " menu and select " Options ." 3. In the left navigation tree, find " NuGet Package Manager ," then choose " Package Sources. " 4. Click the plus icon located at the top-right corner. 5. In the dialog, you can define the name and source for the new package source. 6. Assign a Name, like " Sitecore NuGet ," for identification. 7. For Source, input the URL: https://sitecore.myget.org/F/sc-packages/api/v3/index.json . Thanks for Reading !