Skip to content

Instantly share code, notes, and snippets.

Jeroen jstemerdink

Block or report user

Report or block jstemerdink

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View global.asax.cs
public class Global : EPiServer.Global
{
protected void Application_Start()
{
// Other stuff here
SetMinThreads();
SetMaxThreads();
}
View PredictionEngineService.cs
namespace Epi.Libraries.Commerce.Predictions
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Web;
using EPiServer.Commerce.Catalog.ContentTypes;
using EPiServer.Commerce.Catalog.Linking;
View PageShortcutLoopValidator.cs
using System.Collections.Generic;
using System.Linq;
using EPiServer;
using EPiServer.Core;
using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Validation;
/// <summary>
View ImportScheduledJob.cs
using System.Collections.Generic;
using System.Linq;
using EPiServer.Commerce.Catalog.ContentTypes;
using EPiServer.Core;
using EPiServer.Find;
using EPiServer.Find.Cms;
using EPiServer.PlugIn;
using EPiServer.Scheduler;
using EPiServer.ServiceLocation;
View SerializationValidator.cs
using EPiServer.Core;
using EPiServer.Find;
using EPiServer.Find.Cms;
using EPiServer.Find.Framework;
using EPiServer.Find.Helpers;
using EPiServer.Find.Json;
using EPiServer.Reference.Commerce.Site.Features.Product.Models;
using EPiServer.Validation;
using Newtonsoft.Json;
@jstemerdink
jstemerdink / GetSalesCampaignChildrenQueryFiltered.cs
Last active Jun 29, 2018 — forked from davidknipe/IMarketAccessRightsHelper.cs
Set access rights to Episerver Commerce Markets for specific users
View GetSalesCampaignChildrenQueryFiltered.cs
[ServiceConfiguration(typeof(IContentQuery))]
public class GetSalesCampaignChildrenQueryFiltered : GetSalesCampaignChildrenQuery
{
private readonly IMarketAccessRightsHelper marketAccessRightsHelper;
public GetSalesCampaignChildrenQueryFiltered(
IContentQueryHelper queryHelper,
IContentRepository contentRepository,
LanguageSelectorFactory languageSelectorFactory,
CampaignInfoExtractor campaignInfoExtractor,
@jstemerdink
jstemerdink / CmsTrackingAttribute.cs
Created Dec 22, 2017
Use the new tracking integration packages of Episerver
View CmsTrackingAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EPiServer;
using EPiServer.Cms.Shell;
using EPiServer.Core;
using EPiServer.DataAbstraction;
View BuyBundleGetItemDiscount.cs
namespace EPiServer.Reference.Commerce.Site.Features.Promotions
{
using System.ComponentModel.DataAnnotations;
using EPiServer.Commerce.Catalog.ContentTypes;
using EPiServer.Commerce.Marketing;
using EPiServer.Commerce.Marketing.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAnnotations;
View BuyFromCategoryGetItemDiscountRemoteCouponProvider.cs
using EPiServer.Commerce.Marketing.Promotions;
using EPiServer.ServiceLocation;
/// <summary>
/// Class BuyFromCategoryGetItemDiscountRemoteCouponProvider.
/// </summary>
/// <seealso cref="RemoteCouponProviderBase{BuyFromCategoryGetItemDiscount}" />
/// <seealso cref="IRemoteCouponProvider" />
[ServiceConfiguration(typeof(IRemoteCouponProvider), Lifecycle = ServiceInstanceScope.Singleton)]
public class BuyFromCategoryGetItemDiscountRemoteCouponProvider : RemoteCouponProviderBase<BuyFromCategoryGetItemDiscount>
View ContentExtensions.cs
using System.Collections.Generic;
using System.Linq;
using EPiServer.Core;
using EPiServer.Filters;
using EPiServer.Framework.Web;
using EPiServer.ServiceLocation;
using EPiServer.SocialAlloy.Web.Social.Repositories;
/// <summary>
You can’t perform that action at this time.