Posts

Showing posts from March, 2019

Sitecore 9.1 Installation Step by Step

Image
You might get this article lengthy but I tried to explain each step with it's possible internal steps.To initiate on Sitecore 9.1, it requires below steps and Prerequisites. Step 1: Download package Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip from sitecore (https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Initial_Release.aspx) Step -2 Installation Prerequisites There are some changes in the prerequisite for the Sitecore 9.1 from the  Sitecore 9.0 . Let’s check them out: Windows 10/Window Server 2016 Windows Powershell 5.1 or Later ($PSversionTable) Microsoft SQL Server 2016 SP2 or Microsoft SQL Server 2017 .NET Framework 4.7.2 or Later .NET Core Runtime Solr 7.2.1 Web Deploy 3.6 of Hosting Servers URL Rewrite 2.1 Microsoft SQL Server Data-Tier Application Framework (DAC Fx) version 17.1 Microsoft SQL Server Transact-SQL ScriptDom SQL System CLR...

Services in Angular

Image
Services: With services you can access methods, properties across other components in entire project. To create a new service you just write command ng g service servicename Following are the files created at the bottom - employee-svc.service.specs.ts and employee-svc.service.ts. employee-svc.service.ts Here, the Injectable module is imported from the @angular/core. It contains the @Injectable method and a class called MyserviceService. We will create our service function in this class. Before creating a new service, we need to include the service created in the main parent app.module.ts. In the service class, you will create a function which will display today’s date. We can use the same function in the main parent component app.component.ts and also in the new component sharjeels-work.component.ts that I created in the previous chapter. Let us now see how the function looks in the service and how to use it in components. import { Injectable ...