-
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!
-
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.
-
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.
-
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.
-
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.
-
Using the Handlebars templates with SendGridForEpi
SendGrid has marked Substitutions as Legacy and switched to Handlebars for the transactional templates.
-
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.
-
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.
-
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.
-
Introducing SendGridForEpi
Open sourced packages that helps you sending mail from Episerver using SendGrid's API and transactional templates.
-
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.
-
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.
-
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.
-
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.
-
Removing Episerver Find from Swagger UI
I installed Swashbuckle in my Episerver site that of course also uses Find.
-
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.
-
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.
-
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.
-
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.
-
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.
-
Working with your own forms in EPiServer and MVC
Custom forms is a common thing to have in a site's templates.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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).
-
Page Type Builder and TinyMCE global settings
A complete example of how to manage global TinyMCE settings for your XHTML-string properties.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.