This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Serilog; | |
var builder = WebApplication.CreateBuilder(args); | |
// Add services to the container. | |
Log.Logger = new LoggerConfiguration() | |
.MinimumLevel.Information() | |
.Enrich.FromLogContext() | |
.Enrich.WithProcessId() | |
.Enrich.WithProcessName() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
GetStaticComponentProps, | |
Image, | |
ImageField, | |
Text, | |
TextField, | |
useComponentProps, | |
} from '@sitecore-jss/sitecore-jss-nextjs'; | |
import { ComponentProps } from 'lib/component-props'; | |
import { GraphQLQueryResult } from 'lib/graphql-queries/GraphQLQuery'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This Layout is needed for Starter Kit. | |
*/ | |
import React from 'react'; | |
import Head from 'next/head'; | |
import { | |
Placeholder, | |
getPublicUrl, | |
LayoutServiceData, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Experience | |
{ | |
[JsonProperty("clientKey", NullValueHandling = NullValueHandling.Ignore)] | |
public string ClientKey { get; set; } | |
[JsonProperty("channel", NullValueHandling = NullValueHandling.Ignore)] | |
public string Channel {get; set;} | |
[JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)] | |
public string Language {get; set;} | |
[JsonProperty("currencyCode", NullValueHandling = NullValueHandling.Ignore)] | |
public string CurrencyCode {get; set;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Shell.Applications.ContentEditor; | |
using Sitecore.Text; | |
using Sitecore.Web.UI.Sheer; | |
using System; | |
using System.Collections.Specialized; | |
using System.IO; | |
using System.Web; | |
using System.Web.UI; |