Skip To Content
krompaco.nu
  • Home
  • About
  • Links
Episerver Most Valued Professional

A blog about computer stuff

  • Episerver Stockholm Meetup on Wednesday November 20

    The two sessions are on Auth0 and Episerver .NET Core & Content Delivery API. We still have a few seats available. Welcome to our new office at Magnus Ladulåsgatan 3!

    Added Tuesday 19 November 2019 13:07

  • Boilerplate admin MVC plugin with Tailwind CSS

    I just put a Webpack project with Tailwind config and an Alloy-ready starter view with a setup mimicking Episerver's design up on Github.

    Added Thursday 24 October 2019 21:54

  • Adding a custom Episerver Forms consent element type

    Having a site wide form policy consent text and checkbox available might be useful when editors start using Episerver Forms.

    Added Monday 7 October 2019 20:58

  • Alloy startpage with Tailwind CSS lab

    I've really taken a liking to Tailwind CSS and to help spread the word I did a quick lab of using it on the Alloy startpage.

    Added Thursday 22 August 2019 11:24

  • Content Delivery API and Custom Authorization

    Episerver Content Delivery API 2.x allows us to customize the authorization flow. Here's an example of how you can get and validate an access token using an external service and avoid all that similar stuff that bloated your Epi app when using 1.x.

    Added Saturday 1 December 2018 00:35

  • Using the Handlebars templates with SendGridForEpi

    SendGrid has marked Substitutions as Legacy and switched to Handlebars for the transactional templates.

    Added Monday 19 November 2018 21:00

  • Add an Epi site to the IdentityServer4 combined quickstart using OIDC

    IdentityServer4 is now available for and aligned with ASP.NET Core 2.0 - with some breaking changes. They've also added a combined quickstart that makes it's a lot faster to accomplish what I did earlier in my proof-of-concept post using the 1.x version.

    Added Thursday 25 January 2018 01:07

  • Breaking changes in SendGridForEpi

    I've updated the Krompaco.SendGridForEpi add-on with support for CMS 11 and made it dependent on the latest SendGrid package.

    Added Tuesday 9 January 2018 22:20

  • Working in Episerver's PublishedContent event

    The site in question has a subscription service where a user can subscribe and get a notification e-mail or alert inside the site when a page is published in the subscribed pagebranch. A challenge was how to only send once; we tried to solve it outside of our subscription system.

    Added Tuesday 24 October 2017 07:14

  • Introducing SendGridForEpi

    Open sourced packages that helps you sending mail from Episerver using SendGrid's API and transactional templates.

    Added Tuesday 21 February 2017 23:02

  • IdentityServer4 with Episerver and OpenID Connect

    Federated Security is really nice and you should recommend it everywhere. The new IdentityServer4 comes as a .NET Core package and is an interesting option since it, like earlier versions, is open source and free.

    Added Tuesday 29 November 2016 00:42

  • Upgrade StructureMap to 3.1.9.463

    It's wise to update structuremap-signed to the version 3.1.9.463 released October 18, 2016.

    Added Tuesday 8 November 2016 08:07

  • Going real world with Episerver, Auth0 and Azure AD

    Federated Security is what we all want to use for our Episerver sites right? In such a setup, having Auth0 as the identity platform has for sure put a big smile on my face.

    Added Wednesday 9 March 2016 22:30

  • Episerver and Application Insights test drive

    As you probably know Application Insights is Azure's option for application monitoring and visitor tracking. It's not New Relic APM/Browser and it's not Google Analytics but it's a lot of both. I've been running the preview on this blog for a while now and here's some reporting.

    Added Sunday 24 January 2016 21:45

  • Removing Episerver Find from Swagger UI

    I installed Swashbuckle in my Episerver site that of course also uses Find.

    Added Monday 21 December 2015 13:37

  • A ViewModelBuilder pattern for EPiServer with MVC

    An often discussed topic is how to set up a project's view models, content types and layout.

    Added Friday 30 October 2015 09:32

  • Cache busting CSS and JS files by hash value

    Maybe you are using the Web Essentials Visual Studio extension or you get your minified CSS and JS files from a Grunt task or similar. Here's a concept of how to serve them on version unique URLs without using querystrings or changing filenames.

    Added Tuesday 4 August 2015 09:39

  • My very simple Caching Reverse Proxy ASP.NET MVC Web Application

    I've published an early version of a thing I put together called Cloud Accelerator on GitHub.

    Added Wednesday 29 April 2015 09:37

  • Google Analytics Enhanced Ecommerce Features with Tag Manager

    The Enhanced Ecommerce Features in Google Analytics are pretty cool. So are the features of Google Tag Manager.

    Added Sunday 15 March 2015 13:37

  • PowerShell errors when using EPiServer Visual Studio Extension

    Trying to install a new Alloy MVC Site in one of my machine's Visual Studio 2013 threw error alerts.

    Added Thursday 29 January 2015 09:00

  • Working with your own forms in EPiServer and MVC

    Custom forms is a common thing to have in a site's templates.

    Added Friday 23 January 2015 13:37

  • OWIN authentication on older EPiServer sites

    Many have been looking forward to the built-in support for Federated Security in EPiServer which is currently Beta released. In a recent case there was no time to wait and I came up with a workaround that could be used in older EPi versions as well.

    Added Friday 3 October 2014 11:17

  • EPiServer start page language based on visitor's IP

    Got tasked with determining and showing start page language based on visitor's IP on a EPiServer 7.13 Web Forms site.

    Added Monday 30 June 2014 11:29

  • XML Sitemap from EPiServer Scheduled Job

    A quick post on how to write a valid sitemap.xml file to disk. I used this approach in a scheduled job for EPiServer.

    Added Friday 31 January 2014 16:19

  • Partial Routing with EPiServer 7 and Web Forms

    Saw this post on EPiServer World about routing and friendly URLs and in that case external data. I had done something similiar so I simplified and extracted into an Alloy project.

    Added Tuesday 26 November 2013 13:37

  • DropDownList Category Picker in EPiServer 7

    A client needed the editors to be able to select one category from a SELECT box. I knew there were some built-in controls to make things like this easy in EPiServer 7.

    Added Friday 17 May 2013 16:18

  • One way to import pages from EPiServer 4 to 7

    I was given the task to import pages from EPiServer 4.6 to a new EPiServer 7 site. Access was limited and I had no possibility to modify the code or configuration of the 4.6 project. I went for a solution where an export package was used.

    Added Wednesday 13 March 2013 14:19

  • Analyzing SQL Server database size

    I recently posted a reply about Reducing database size at EPiServer World and thought I'd assemble some queries that come in handy when analyzing a database gone huge.

    Added Monday 18 February 2013 23:36

  • Avoid uppercase letters in your EPiServer page URL

    For a number of reasons it's widely recommended to use all lowercase URL's inside a web site. Unfortunately EPiServer out of the box uses the same casing as the entered PageName (unless you modify the URL manually).

    Added Wednesday 16 January 2013 18:20

  • Page Type Builder and TinyMCE global settings

    A complete example of how to manage global TinyMCE settings for your XHTML-string properties.

    Added Wednesday 5 September 2012 09:17

  • Issues when upgrading to EPiServer CMS 6 R2

    CMS 6 R2 has been around for a while and I have completed a bunch of upgrades. There are a lot of issues that might or might not affect the site you are upgrading.

    Added Wednesday 30 November 2011 14:39

  • EPiServer User Picker Property that uses the built-in Membership Browser

    Maybe I have poor Googling skills but I couldn't find a simple user picker property anywhere. We had some examples at work but they involved a custom user control and too much javascript.

    Added Friday 5 November 2010 11:28

  • Remember to configure CmsAdmins in EPiServer 6

    Tried to reach the search settings admin view but didn't get access. Snooping around led me to a new EPiServer 6 group name setting.

    Added Wednesday 29 September 2010 13:55

  • Retrieving an EPiServer 6 global setting value

    You added some property settings to your custom property and created a couple of global settings for the editor to choose from. Then you find out you want to get hold of the setting values in code. Here's how you fetch them.

    Added Tuesday 20 July 2010 10:03

  • Replacing the TinyMCE table plugin in EPiServer 6

    I got the task to replace the TinyMCE table plugin with a stripped down version optimized by a colleague.

    Added Tuesday 22 June 2010 00:10

  • Using Dynamic Data Store related to an EPiServer 6 page

    We decided to build a poll function using a Question page type and an Option page type to put below. For each option we thought the new Dynamic Data Store related to an EPiServer page - the Page Object Manager - would be a neat thing to use as storage for the votes.

    Added Wednesday 16 June 2010 08:00

  • Alter default InitOptions for TinyMCE in EPiServer 6

    The default config options set by CreateDefaultInitOptions() aren't really what you need to help editors create correctly marked up content. Luckily the guys at EPiServer have a way to tweak 'em.

    Added Thursday 20 May 2010 16:15

  • Brilliant graphic design in HP printer setup

    Installed three HP printer drivers and got three different directories in Progam Files (HP, Hewlett_Packard and Hewlett-Packard). This was not the only ugly thing about it though.

    Added Thursday 8 April 2010 10:04

  • Vary EPiServer cache by all querystring parameters

    I had a EPiServer CMS 5 R2 project where there was a lot of templates lifted in from an older solution. It was very querystring intensive so I needed to get away from specifying each querystring-parameter in the httpCacheVaryByParams setting and still enjoy public caching.

    Added Friday 29 January 2010 12:34

  • Using XmlTextWriter to output RSS with MVC

    I converted some code from a Web Form project that was using the XmlTextWriter class to generate RSS. Here's what I ended up with to get it working from a Controller in a ASP.NET MVC 1.0 project.

    Added Wednesday 23 December 2009 12:37

  • How to create a role task by code in EPiServer

    After failing duplicating the ParallelApproval Workflow I looked into creating a task by code in the project instead. Didn't find much documentation online so here's my initial Proof of Concept to fill the gap.

    Added Monday 14 December 2009 16:41

  • Error code 8004402f installing Vista Service Pack 2

    I was unable to install Vista Service Pack 2 but after a number of tries finally found what the problem was.

    Added Thursday 9 July 2009 22:00

Feeds

Latest posts RSS feed

Copyright

© Johan Kronberg 2009-2019