Posts

Showing posts with the label sitecore

Sitecore Install Assistant (SIA)

Image
This blog will guide you to setup new Sitecore 9.2 instance using SIA with very simple and straight forwards instructions. 1. Prerequisite SQL server 2016 SP2 or SQL Server 2017 SOLR 7.5.0 or higher (with SSL enabled) SIF (Sitecore Installation Framework) 2.1 Valid License file Windows Server 2019 or  Windows Server 2016 or Windows 10 (32/64-bit) Microsoft PowerShell® version 5.1 or later is required IIS 10 .NET Framework 4.7.2. Sitecore Identity server requires .NET Core 2.1.7 Windows Hosting Module.   The setup wizard internally validate the Prerequisites.json file to validate all the Prerequisites during installation. 2. Download To download the SIA with sitecore 9.2  please go to the url https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx           Unzip the content to proceed with the installation. .json files .exe .config file .ps1 file etc.. 3. Configure SOLR Setup Download Solr 7.5.0  Follow the steps mentioned

Coding Best Practices

Image
Advantages of following coding best practices Code readability Maintainability Dependability Efficiency Usability Key Points Coding Style and Standard Code Correctness, fragmented code & conciseness of code Low Coupling and High Cohesion is expected Object oriented programming Abstraction, encapsulation and information hiding Oops Encapsulation is when a group of related methods, properties, and other members are treated as a single object. (public, private, protected) Inheritance is the ability to receive (“inherit”) methods and properties from an existing class. (Extension) Polymorphism is when each class implements the same methods in varying ways, but you can still have several classes that can be utilized interchangeably. Abstraction is the process by which a developer hides everything other than the relevant data about an object in order to simplify and increase efficiency. (Interfaces) Key Rules Code Structures should meaningful Structuring your application is very important

Introduction and features of Sitecore Content Hub

Image
  Sitecore Content Hub Now a days every digital marketers today are aware of that “Content is most important part of every project”, but to gain a competitive image and achievement you need to streamline the content creation/update/delete, Management and distribution, so that your client can get the correct content/assets on the right channel at the proper time frame. Sitecore content hub gives you the features to empower the same. Sitecore content hub empowers your team to take charge of the complete content lifecycle.With below listed 5 powerful solutions in a single integrated solution. DAM  You probably have big content creation team or may have big source of content supply, but without centralized management it is nothing but digital waste item. Using Sitecore Content Hub you can Store, Manage, Search for assets in a central location with Sitecore DAM. User can quickly tag and classify digital assets to control metadata, eliminate redundancy and ensure complia

Sitecore: Solr Index rebuild automatically using c# code

Image
Note : if you are not aware or Sitecore CMS please click here Problem Statement :  In our project architecture we have multiple CD server in different azure cloud Geo-locations. But during Go live and outage we need to switch to DR (disaster recovery) server for certain period of time. So there is a requirement to sync the Live Sitecore CD (content deliver) server with the DR server after certain period of time. We achieve this using SQL database transactional replication. But one challenge faced during Solr index rebuild. We have to do manual Solr index rebuild on DR server after every 24 hrs. Solution : Step 1: Create a new separate project " SitecoreTasks" with below code base using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SitecoreTasks {     public class AutoIndexRebuildAgent     {         public string CoreList { get ; s