1. ISitecoreLayoutRequestMapper

Interface ISitecoreLayoutRequestMapper

Version: 21.x

Contract for implementing the mapping logic from a Microsoft.AspNetCore.Http.HttpRequest to a SitecoreLayoutRequest.

Namespace: Sitecore.AspNet.RenderingEngine
Assembly: Sitecore.AspNet.RenderingEngine.Abstractions.dll
Syntax
public interface ISitecoreLayoutRequestMapper

Methods

Map(HttpRequest)

Maps a Microsoft.AspNetCore.Http.HttpRequest to a SitecoreLayoutRequest.

Declaration
SitecoreLayoutRequest Map(HttpRequest request)
Parameters
TypeNameDescription
Microsoft.AspNetCore.Http.HttpRequestrequest

The Microsoft.AspNetCore.Http.HttpRequest to map.

Returns
If you have suggestions for improving this article, let us know!