A blog about computer stuff
-
Webperf ratings for blogs of Optimizely MVPs
I've mashed up my open source project Record Collector with the great Webperf Core test routine.
Published Sunday 8 May 2022 21:24
-
Please do this with your Swagger-enabled Web APIs
Quite often I encounter APIs that have a Swagger UI but lacking much of the rest (hehe) of the Swagger tooling support.
Published Tuesday 16 February 2021 23:09
-
Troubleshooting a large increase in Epi SQL Server calls
Recently spent some time investigating massive database dependency counts on an Epi CMS site that was using Geta Tags.
Published Wednesday 27 January 2021 04:42
-
Check out Record Collector
My .NET Static Site Generator on GitHub. -
Notes on my part of the EWCW Cloud talk
Maybe you listened in to the Cloud talk on Monday of the Episerver World Community Week and wondered what I was talking about?
Published Thursday 22 October 2020 08:13
-
Putting custom data in Azure Table Storage from Episerver
It's completely normal to feel not so good when thinking about Entity Framework migrations or Episerver's Dynamic Data Store.
Published Wednesday 9 September 2020 07:24
-
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!
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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).
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published 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.
Published Thursday 9 July 2009 22:00