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 xmlns:x="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:eds="http://www.sitecore.net/xmlconfig/eds/" xmlns:exmEnabled="http://www.sitecore.net/xmlconfig/exmEnabled/"> | |
| <sitecore exmEnabled:require="yes" role:require="Standalone or ContentManagement or DedicatedDispatch" eds:require="EmailCloud"> | |
| <exm> | |
| <eds> | |
| <smtpSettings> | |
| <server>sitecore-eu.smtp.e.sparkpost.com</server> | |
| <userName>sitecore-eu</userName> | |
| </smtpSettings> | |
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> | |
| <packageSources> | |
| <add key="Sitecore" value="https://sitecore.myget.org/F/sc-packages/api/v3/index.json" /> | |
| </packageSources> | |
| </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" Inherits="Sitecore.sitecore.admin.AdminPage" %> | |
| <%@ Import Namespace="Sitecore.XConnect.Client.Configuration" %> | |
| <%@ Import Namespace="Sitecore.XConnect.Client.Serialization" %> | |
| <%@ Import Namespace="Sitecore.XConnect.Collection.Model" %> | |
| <%@ Import Namespace="Sitecore.XConnect" %> | |
| <%@ Import Namespace="Sitecore.XConnect.Client" %> | |
| <%@ Import Namespace="Newtonsoft.Json" %> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head 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
| <%@ Page Language="C#" AutoEventWireup="true" Inherits="Sitecore.sitecore.admin.AdminPage" %> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head runat="server"> | |
| <title>Aggregation</title> | |
| <script runat="server" language="C#"> | |
| protected void Page_Load(object sender, EventArgs e) | |
| { | |
| CheckSecurity(true); | |
| } |
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#" EnableEventValidation="false" AutoEventWireup="true" EnableViewState="false" %> | |
| <%@ Import Namespace="Sitecore.Caching" %> | |
| <script runat="server"> | |
| void Page_Load(object sender, System.EventArgs e) | |
| { | |
| if (!Sitecore.Context.IsAdministrator) | |
| { | |
| Response.Write("Must be logged in as an administrator"); | |
| Response.End(); |
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
| namespace YourNamespace.EventHandlers.Social | |
| { | |
| using System; | |
| using System.IO; | |
| using System.Net; | |
| using Facebook; | |
| using Sitecore.Analytics; | |
| using Sitecore.Analytics.Model.Entities; | |
| using Sitecore.Analytics.Tracking; | |
| using 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
| namespace YourNamespace.SaveActions | |
| { | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web.Script.Serialization; | |
| using Sitecore.Analytics; | |
| using Sitecore.Analytics.Model.Entities; | |
| using Sitecore.Analytics.Tracking; | |
| using Sitecore.Configuration; | |
| using Sitecore.Data; |
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 System; | |
| using Sitecore.Caching; | |
| using Sitecore.ContentSearch; | |
| namespace MyProject | |
| { | |
| public class MyContext | |
| { | |
| private static readonly ItemsContext _items; |