Sending an Email with an Edit Page-link
Back from 2 healthy weeks of vacation on Iceland. Time to start blogging again! This time I want to share a simple but useful snippet of code that sends an email to an EPiServer editor with a link that...
View ArticleAre you safe? Dangers of XSS…
If you allow the visitors of your site to contribute, for example with a simple comment this textbox, you take the risk that a malicious user inject evil code in a comment. This evil code is then...
View ArticleMove built-in property to another tab when editing
One of our customers required that we limited access to the Advanced Information tab in edit mode for normal editors. A reasonable requirement but how do you enable normal editors to adjust the sort...
View ArticleRaise your quality with easy http-protocol analysis
Both Fiddler (shown below) and Firebug can monitor Network traffic from your browser to web servers. I use it as a debugging tool all the time and could not live without it. Discover broken links to...
View ArticleEPiServer LicenseException: x.x.x.x is not a valid ip-address
I got a support question on this Exception today. First thought is that the ip-address was misstyped or the wrong license.config file was used but ipconfig /all and the IPRestiriction tag in...
View ArticleEPiServer CMS: How to configure Remote Events with many servers and Firewalls...
The Event Management System in EPiServer CMS 5 is used to propagate information that a page has changed to other web servers connected to the same database. This is very important to setup if you have...
View ArticleI do not like the trend for EPiServer web.config!
Everyone is talking about CoC (Convention over Configuration) and DRY (Don’t Repeat Yourself) today. The idea is to reduce the amount of repetitive, needless configuration and just keep what’s...
View ArticleEPiServer with developers on both x32 and x64
Today’s tip is for all of you who want to share the same web.config among all developers in a project so you can check-in and handle changes in your Source Code Control Repository. EPiServer...
View ArticleDebugging “Exception has been thrown by the target of an invocation”
I got a question how to find what was wrong when you only got an error “Exception has been thrown by the target of an invocation. [The server committed a protocol violation The server response was: …]”...
View ArticleHow to get started developing with EPiServer CMS
I got a question in the mail today how to get started with EPiServer CMS as a developer. Here are my tips: Register at world.episerver.com with your work email address. Start by downloading and...
View ArticleTool to re-index all EPiServer pages
You get a warning when you try to delete a file or EPiServer page if it is referenced form another page. EPiServer uses EPiServer.DataAbstraction.SoftLink for this feature and all links to files, other...
View ArticleReset Trial Counter for Protexis Licensing V2
It is annoying when a trial expires before you had time testing the software. Sometimes it is just enough to reinstall to get a new trial period but usually they hide the information so it is...
View ArticleUsing jQuery to add thousands separator to textbox
UPDATED: Code improved after feedback from Henrik Tengelin. It is much easier to read large numbers with with thousands separator but how to get them to work with page validation in a good way? The...
View ArticleEPiServer – Security and Access Control (1/2)
EPiServer CMS is using the standard methods in ASP.NET to handle authentication and authorization. On top of this they have added a few providers to handle authentication and access control to...
View ArticleConfiguration Management and EPiServer CMS 6
This blog post is based on the experience of upgrading one EPiServer CMS 5 project and creating a new one from scratch based on a release candidate of EPiServer CMS 6 and things may change before the...
View ArticleTechDays: Dino Esposito’s ASP.NET 4.0 highlights
In short, ASP.NET 4.0, gives you more control. CSS friendly HTML from Server Controls by default. EnableViewState does not work as you expect in ASP.NET 2.0. With the new ViewStateMode property with...
View ArticleEPiServer CMS 6: SocketException with VPN
If you use new EPiServer CMS 6 and have a VPN tunnel open you may get an exception when starting your EPiServer site. SocketException (0x2747): An operation on a socket could not be performed because...
View ArticleHow to fix alphabetic sorting of pages in EPiServer
Update: Do not try to change collation order in the database! Use this approach instead to sort pages in the page tree in EPiServer CMS 5. I recently got the question how to fix the incorrect...
View ArticleEPiServer CMS with Facebook Open Graph
I just implemented support for the Open Graph protocol on an EPiServer CMS site to improve Facebook Share and Facebook Like. First thing noticed is that it looks that Facebook have problem with...
View ArticleIssues with rendering in EPiServer preview-tab
I have noticed that several JavaScript features added to your Page Templates malfunction in the preview-tab in edit mode. It appears that it is a larger issue in Internet Explorer and most editors uses...
View ArticleFix alphabetic sorting of pages in EPiServer CMS 5
I wrote earlier about the annoying fact that alphabetic sorting of child pages in EPiServer CMS 5 is controlled by the collation settings in your database server and suggested that it could be fixed....
View ArticleNew stuff in EPiServer CMS 6 R2
I like to dig around and here are a few things I did notice in the upcoming EPiServer CMS 6 R2 release. Visitor Groups and personalized content On Page Edit is cross browser compatible (not only...
View ArticleMore small things in EPiServer CMS 6 R2
Just a list of small things noted while working with the latest release. Page Folder is not default for File Manager. Message change from “Save” to “Create page folder” when a page folder does not...
View ArticleA Site Test Protocol
This is maybe a strange blog post because it is written as an instruction to a junior developer who I have been coaching on how to be better at QA of web sites and a template for a site test protocol....
View ArticleDynamic Content in EPiServer CMS 6 R2
This is a short demo of how you can use the new simpler way to implement Dynamic Content with a ordinary User Control and some Plug-In attributes. DynamicContentPlugIn is the simplifying solution First...
View ArticleTrainee program for EPiServer developers
I have started to compile a list of skills that are required to be a good web developer working with EPiServer CMS and the Microsoft platform. This list includes links to Pluralsight on-line training...
View ArticleTool to assist during upgrade of EPiServer CMS
EPiServer Deployment Center is used to upgrade from one EPiServer CMS version to another. It copies new files to your www root folder, it changes configuration files, it upgrades the database schema...
View ArticleEPiServer CMS 7: BackingTypeResolver
Or why it can be important to override PropertyValueType on your custom properties. When you create a Page Type in code in EPiServer CMS 7 you create a new class inheriting from PageData and add...
View ArticleHow to open a link in another browser
I had a somewhat unusual request from one of my customers with a very locked down corporate network. Their intranet (and other internal web applications) are only available in IE. But for security...
View ArticleHow do you setup an IIS Web App so it can access a network share without an AD?
A common setup for EPiServer CMS is a load balancing scenario. You have two or more front end web servers and a shared database server. You also need to store uploaded files somewhere. The most common...
View Article