My Write-Ups Blog

Gaining Knowledge by Sharing Findings

Possible acting as an IT department

Sitefinity – Investigate Schedule Task

Intro Scheduled tasks in Sitefinity CMS are objects that can execute a predefined set of operation at a particular point in time. You can use scheduled task… (read from reference..) Expected Workflow Schedule a task during application start Trigger ExecuteTask() Run ScheduleTask() Repeat 2-3 Schedule Task Code There are two important method, ExecuteTask() -> ItContinue reading “Sitefinity – Investigate Schedule Task”

Sitefinity – Best Practices When Implementing Custom MVC Widgets

In this sample, I have implemented IContentLocatableView IHasCacheDependency (SubscribeCacheDependency) HandleUnknownAction ContentBaseController and ContentModelBase  It has the main functionality for constructing all the out-of-the-box SEO properties, supporting listing and detail pages. When this class is implemented, you will be able to call the InitializeMetadataDetailsViewBag method, pass in it the item that is currently being displayed and based on theContinue reading “Sitefinity – Best Practices When Implementing Custom MVC Widgets”

My TFS CICD setup for Sitefinity Project – Part 1

Important notes Only include files and deploy to solution Project should be using nuget feed Project should have have Debug and Release mode Project Structure /<root>/Nuget.config/DemoServer /DataConfig.config /Sitefinity.lic/packages /<nuget packages>/SitefinityWebApp /<sitefinity related files> /bin /Properties/PublishProfiles/PublishProfile.pubxml /SitefinityWebApp.csproj Setting DemoServer Folder DataConfig.config – include ConnectionString of database server Sitefinity.lic SitefinityWebApp Release mode setting DebugType: None Optimize: TrueContinue reading “My TFS CICD setup for Sitefinity Project – Part 1”

Play around with Sitefinity SEO Setting

My testing Sitefinity version: V11.1 Open graph Setting Setting → Advanced → System → SEO and OpenGraph Must enable both SEO and Open Graph Properties Site Name Setting Setting → Advanced → Project → DefaultSite Customize Name for the site Page Setting Pre-requisite: Create a CustomField: Image for social media (OpenGraphImage) Result Result Mapping 1Continue reading “Play around with Sitefinity SEO Setting”

App Initialization upon App Poll Recycle

To spin up application (initialize) earlier than first visitor App Pool pre-setup Advanced Setting Start Mode: AlwaysRunning Idle Time-out (minutes): 0 Recycling Setting Fixed Interval: <To set at odd timing> Website pre-setup Advanced Setting Preload Enabled: True Step to configure Application Initialization 1. Make sure IIS Feature Application Initialization is installed in the machine 2. GoContinue reading “App Initialization upon App Poll Recycle”


EST. 1993 @