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
query:/sitecore/content/* |
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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestIp.aspx.cs" %> | |
<%@ Import Namespace="Sitecore.Analytics.Lookups" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<script runat="server"> |
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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<settings> | |
<setting name="Analytics.ForwardedRequestHttpHeader"> | |
<patch:attribute name="value">X-Forwarded-For</patch:attribute> | |
</setting> | |
</settings> | |
</sitecore> | |
</configuration> |
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
// Generates Synthesis models | |
Log.Debug($"Emitting GlassMapper templates for {ConfigurationName}..."); | |
public string RenderTemplates() | |
{ | |
var localCode = new System.Text.StringBuilder(); | |
foreach (var template in Templates) | |
{ |
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
// Generates Glass Constants File | |
Log.Debug($"Emitting constants templates for {ConfigurationName}..."); | |
public string RenderFields(TemplateCodeGenerationMetadata template) | |
{ | |
if (template.OwnFields.Length == 0) | |
{ | |
return string.Empty; | |
} |
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
var gulp = require("gulp"); | |
var exec = require("child_process").exec; | |
// Run Leprechaun to Code Generate Models | |
gulp.task('_Code-Generation', function(x) { | |
exec('.\\Tools\Leprechaun-1.0.0\\Leprechaun.console.exe /c .\\src\\Leprechaun.config', function (err, stdout, stderr) { | |
console.log(stdout); | |
console.log(stderr); | |
x(err); | |
}); |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<leprechaun> | |
<configurations import=".\*\*\code\CodeGen.config"> | |
<configuration name="Helix.Base" abstract="true"> | |
<codeGenerator scripts="Scripts/GlassMapper.csx, Scripts/Constants.csx, Scripts/Diagnostics.csx" outputFile="$(configDirectory)\$(layer)\$(module)\code\Models\$(layer).$(module).Model.cs" /> | |
<dataStore physicalRootPath="$(configDirectory)\$(layer)\$(module)\Serialization" /> | |
<templatePredicate rootNamespace="Helix.$(layer).$(module)" /> | |
</configuration> | |
</configurations> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration name="Feature.Navigation" extends="Helix.Base"> | |
</configuration> |
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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestIp.aspx.cs" %> | |
<%@ Import Namespace="Sitecore.Analytics.Lookups" %> | |
<%@ Import Namespace="Sitecore.Analytics.Configuration" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> |
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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", | |
"contentVersion": "1.0.0.0", | |
"variables": { | |
}, | |
"parameters": { | |
}, | |
"resources": [ |
OlderNewer