This file contains hidden or 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 Microsoft.AspNetCore.Mvc; | |
| using Newtonsoft.Json; | |
| using Serilog; | |
| using System.Text; | |
| using System.Text.Json; | |
| using WebHooks.Models; | |
| using WebHooks.Repositories; | |
| namespace WebHooks.Controllers |
This file contains hidden or 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
| POST my_sitecore_index/_close | |
| PUT my_sitecore_index/_settings | |
| { | |
| "analysis": { | |
| "filter": { | |
| "my_synonyms_filter": { | |
| "type": "synonym", | |
| "synonyms": [ | |
| "RPA,Robotic Process,Robot Process Automation,Automatic Processes", |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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; |