Deploying Sitecore 9 to Azure App Service – with demo

Posted by on Nov 23, 2017 in Sitecore Blog | 0 comments

This blog provides an overview of deploying of Sitecore 9 to Azure App Service using  Sitecore Azure Toolkit 2, ARM templates and PowerShell script. The functionality to provision Sitecore to App services existed since Sitecore 8, this release added support for more configuration topologies along with out of the box support for data security for xConnect components. Sitecore in App Service no longer required Mongo, Azure SQL is used for...

Read More

Issue(SOLVED): Sitecore 8.2.3: IsAuthenticated property is “false” for statless/token based authentication in ServicesApiController

Posted by on Jun 9, 2017 in Sitecore Blog | 0 comments

I have had issue with JWT  token authentication in stateless mode, where is IsAuthenticated property is always  set to ‘false’. The issue does not exist in cookie based authentication for the same request. As a workaround I used ” Context.User.Name” property instead. Solution From Sitecore: The default TokenDelegatingHandler is using UserService.SwitchToUser method to log in the user. However, UserService is loading the...

Read More

Sitecore WebAPI: ServicesApiController and JWT Token Security

Posted by on Jun 9, 2017 in Sitecore Blog | 10 comments

I would like to demonstrate how to create Sitecore WebAPI based custom service and utilize native Sitecore/.NET security mechanism. The ServicesApiController is part of Sitecore.Services.Infrastructure.dll and it implements .NET ApiController. Usage of ServicesApiController ensures continuation of Sitecore global item security policies and individual filters that can have individual requirements. My goal is to create stateless WebAPI based...

Read More

Sitecore 8.2 Azure PaaS deployment with ARM templates and PowerShell

Posted by on Jan 13, 2017 in Sitecore Blog | 3 comments

The Sitecore 8.2 update 1+  was the first major release that took Sitecore to a cloud as a service. The  Sitecore Azure Module was available since version 6, but it was never widely accepted due to support and installation challenges. With the support of PowerShell and Azure Toolkit, Sitecore can be installed as App Service in Azure with minimal effort now. In this article, I’ll review Sitecore provisioning into AppService using...

Read More