EPiServer – Render PageReference Url in e.g.  link

Often asked, so take for instance this method that can help you render the link:

Continue reading


Can’t perfrorm Create, Update or Delete operations on Table(..) because it has no primary key

I stumbled upon this logical error after having published a new table in the EPiServer DXC environment and had it deployed to preparation and production. As you may know, you cannot publish changes to the prep and prod databases directly in DXC, due to which I was stranded with having non-functional code just after Friday’s last update window (DXC does not handle update / publish requests on the weekend.)

I simply forgot to add the Primary Key to my table schema. I added it to the integration database and was just about to send a new request to EPiServer managed services when I decided to try to change my .Net code instead. My code was something simple like this:

Continue reading