My Resharper license just expired…renew or not to renew

It’s that time of the year again when the licenses on my third party products start lapsing and I pull out my card to renew for another year. Although having used Resharper for a long time, the line between it and Visual Studio has blurred for me. So instead I’ve decided not to renew and […]

Manipulating an EPiServer Page Programmatically

Creating a Page Here’s how you can create a page in code from a page type you’ve already defined. First create a new instance of the page type under another page in the form of a link: var newBlogPost = ContentRepository.GetDefault<BlogPostPage>(parentLink); Then set whatever properties you wish to the newBlogPost object. newBlogPost.Subject = “Creating an EPiServer […]

HTML with in-line Razor

This little gotcha keeps biting me in the ass every time I move away from Razor for a while. So I’ve decided to blog so this time I’ll remember. When you want to insert some razor syntax in-line within a HTML tag. Make sure you include the @ delimiter on any further statement. Following example attempts to add […]