Blog entries tagged with EPiServer CMS 5

Auto-tagging Content with OpenCalais

by: Allan Thræn

One of my big passions has always been various forms of intelligent textual analysis – probably a remnant of my search-engine days. Anyway – Over the last couple of years I’ve done a bunch of different prototypes which have it in common that they... [ Read full article ]

22 June 2010  1 Comments


Building a Twitter Workflow

by: Allan Thræn

For a long time I’ve wanted to play more with Windows Workflow Foundation (WWF) in conjunction with EPiServer, and today I finally did  it. And luckily it turned out to be a lot less scary than I had imagined. First of all, I decided to check out ... [ Read full article ]

06 January 2010  3 Comments


Getting a Page from a Guid

by: Allan Thræn

Here’s just a quick little code-hint. Sometimes it can be handy to retrieve a pagereference or a pagedata object from a guid. And it’s easily done using the PermanentLinkMapStore. See here: PermanentPageLinkMap map = PermanentLinkMapStore.Find(Pag... [ Read full article ]

06 January 2010  2 Comments


Warm up your sites

by: Allan Thræn

Stefan Schackow had a great tip at the end of his PDC session “ Microsoft ASP.NET 4 Core Runtime for Web Developers ”. A beta extension is available for IIS 7.5 that makes IIS automatically “warm up” your web sites before any visitors arrive. This... [ Read full article ]

18 November 2009  1 Comments


Itera.Media a easy solution for media files

by: Anders Hattestad

How many times have you made a property called IntroImage and used that to display an intro image on a page? Then how often have you gotten a question about how do we add a flash, or can we have this image a bit smaller/larger on a particular page... [ Read full article ]

30 October 2009  6 Comments


Creating Custom Error Pages in EPiServer CMS 5

by: LBi

I’ve seen many approaches to the common task of configuring an EPiServer site to use custom error pages, but none of them have satisfied my requirements. Here are some you may like to check out: http://labs.episerver.com/en/Blogs/Joel-Abrahamsson/... [ Read full article ]

17 September 2009  6 Comments


I am virtually in the role, dude

by: Allan Thræn

UPDATE 2009-11-02: This code for this project has now been moved to CodePlex . Sometimes I wonder if anyone else knows that special feeling. The feeling you have when fingers just start itching and you know you just have to get that great idea out... [ Read full article ]

03 September 2009  4 Comments


Globalization, categories and sorting using LINQ

by: Øyvind Wabakken Hognestad

I have been working with a globalized website for some time and have a couple of tips to share regarding globalization. I’m using FindPagesWithCriteria to get pages based on categories defined on pages. As we teach during the EPiServer developer c... [ Read full article ]

04 August 2009  0 Comments


EPiServer and ASP.NET AJAX

by: Ted Nyberg (Ted & Gustaf)

Script error after ASP.NET AJAX postback in EPiServer I had two seemingly identical EPiServer websites, each running EPiServer CMS 5 R2 SP1. However, on one of the websites a peculiar script error occured after the second postback in an ASP.NET AJ... [ Read full article ]

29 June 2009  2 Comments


Page Type Builder 0.7 - Wrapping and enabling mocking of DataFactory

by: Joel Abrahamsson

Since I last wrote about the Page Type Builder project we have started to use it in a real project. That means that the Page Type Builder project has left the experiment phase and the quality demands are a lot higher. Therefore I’d like to rewrite... [ Read full article ]

28 June 2009  4 Comments


Property is contained in a page/control/template that does not have a current page

by: Ted Nyberg (Ted & Gustaf)

I recently came across a website for a hospital and noticed an error message that seemed familiar: The error message states: [Error: Property is contained in a page/control/template that does not have a current page.] Solution The solution/explana... [ Read full article ]

19 June 2009  2 Comments


A stab at the GoogleAnalytics API

by: Johan Olofsson

This is a first shot at creating a EPiServer CMS module that integrates Google Analytics statistical data using their (Google's) recently published API . The module is released under open source up at Code Resort, https://www.coderesort.com/p/epic... [ Read full article ]

17 June 2009  6 Comments


Page Type Builder version 0.6

by: Joel Abrahamsson

Another week has passed and I have found some time to make some furtherimprovements to the Page Type Builder project which I’ve previously written about here and here . The project, which is now at version 0.6, can be downloaded here . The... [ Read full article ]

14 June 2009  1 Comments


Javascript errors in EPiServer edit and admin mode

by: Ted Nyberg (Ted & Gustaf)

Problem description Javscript errors in the EPiServer UI can produce pretty discrete anomalies, depending on your browser debug settings. For example, the EPiServer admin mode may appear to be working correctly, but you can’t do things like add... [ Read full article ]

13 June 2009  0 Comments


Strongly typed property access and page type inheritance - again

by: Joel Abrahamsson

There has been quite a lot of talk about strongly typed property access lately. There has also been a few very interesting blog posts about how to achieve both strongly typed property access and page type inheritance. Fredrik Tjärnberg has develop... [ Read full article ]

01 June 2009  12 Comments


A simple solution for custom 404 pages and permanent redirects

by: Joel Abrahamsson

Yesterday me and my colleague Henrik Kraft where working on the final touches before the release of a new site. The site we where working on is a new version of a site that has quite a few inbound links and quite a few pages with good rankings in... [ Read full article ]

21 May 2009  6 Comments


Yet another admin property manager

by: Anders Hattestad

This is yet another admin plugin that helps manage the different page properties. My twist is the use of PageAdapter so that I don't have to make my own plugin, but can override the built in admin page for page types. As with all page/control... [ Read full article ]

14 May 2009  1 Comments


A voyage with the SharePoint Connector

by: Dan Matthews

Last week I had to set up a demo to a potential partner to show how EPiServer can be used to pull information together within an Enterprise and expose it in different ways. After giving it some thought, I decided that the best way to show this wou... [ Read full article ]

14 April 2009  14 Comments


Managing e-mail subscriptions in EPiServer

by: Ted Nyberg (Ted & Gustaf)

Background E-mail subscription in EPiServer CMS 5 is based on ASP.NET profiles. Starting and stopping subscriptions through code is easy, but I was missing a plugin where administrators could easily add new subscribers, remove existing subscriptio... [ Read full article ]

14 April 2009  1 Comments


New open-source module: Remote Page Provider

by: Per Bjurström

Remote Page Provider can be used to integrate content (pages and files) between two or more installations of EPiServer CMS. Pages appear as a local page even when they are residing on a separate installation. The Remote Page Provider contains,... [ Read full article ]

18 February 2009  0 Comments


Adding a custom plugin button to unpublish a page in EPiServer

by: Ted Nyberg (Ted & Gustaf)

I was recently in a discussion where the topic of unpublishing pages in EPiServer came up. Fredrik Haglund mentioned that some customers want to have an “ Unpublish ” button, and I agree. Some clients are fine with setting the Stop Publish propert... [ Read full article ]

12 February 2009  16 Comments


Generating Excel reports

by: Johan Olofsson

I guess that we all have had to create some Excel files for doing reports from a web page at one time or another, and one quite common approach is to simply render the data as comma/tab-separated text and then specify some appropriate Response... [ Read full article ]

11 February 2009  2 Comments


Check if a dynamic property has been specified on the current page

by: Ted Nyberg (Ted & Gustaf)

Dynamic properties versus page properties As you probably know, dynamic properties are like page properties in many ways, except they do not need to be set specifically on a per-page basis. Dynamic property values are inherited in the page tree.... [ Read full article ]

03 February 2009  7 Comments


Mitigating high memory pressure in CMS (SP1)

by: Per Bjurström

There are two features in EPiServer CMS going back all the way to EPiServer CMS 4 that were specifically designed to mitigate high memory pressure. Feature #1 EPiServer CMS loads pages into the cache including all properties, that means if you hav... [ Read full article ]

30 January 2009  6 Comments


Customize the search experience with Search Server 2008

by: Ted Nyberg (Ted & Gustaf)

I recently posted an article on how to use Search Server 2008 for local searches on a website or intranet . In this post I’ll focus on the search query XML schema used by Search Server 2008 and how to customize search queries by specifying what... [ Read full article ]

23 January 2009  3 Comments


Using EPiServer and Microsoft Search Server 2008

by: Ted Nyberg (Ted & Gustaf)

If you're interested in EPiServer and Microsoft Search Server you may also want to have a look at the post  Customize the search experience with Search Server 2008 . Introduction Microsoft Search Server 2008 is a stand-alone search server built up... [ Read full article ]

20 January 2009  19 Comments


Adding multiple links using the Link Collection property in EPiServer

by: Ted Nyberg (Ted & Gustaf)

Background The LinkItemCollection class was a truly appreciated addition when EPiServer CMS 5 R2 was released. Part of the EPiServer.SpecializedProperties namespace the LinkItemCollection class is a property that editors can use to add multiple... [ Read full article ]

12 December 2008  17 Comments


Guest Author:"Application is busy under initialization phase"

by: Allan Thræn

Again , I've been reckless enough to lend out blog-space to a bright developer. This time it's Thomas Fritzen from the  partner, Creuna . Here is his post:   The following has been experience on EPiServer 5.1.422.269 While developing a medium size... [ Read full article ]

12 December 2008  2 Comments


EPiServer CMS 5 R2 gives 'Sys' is undefined on IIS7

by: Ted Nyberg (Ted & Gustaf)

Yet another troubleshooting tip for the dreaded 'Sys' is undefined error This post won't reveal any exciting new features, techniques, or patterns. However, if you're troubleshooting some ASP.NET AJAX errors relating to EPiServer CMS 5 R2 on IIS7... [ Read full article ]

09 December 2008  20 Comments


Properties to a Property - the solution?

by: Anders Hattestad

EPiServer has a lot of cool features, but I have been missing is the possibility to have global settings. Many times when we make some generic components we need some kind of configuration to reuse them. Examples on what I mean is 1) a... [ Read full article ]

05 December 2008  5 Comments


Using EPiServer Virtual Path Provider with file properties

by: Fredrik Karlsson

In EPiServer CMS 5 you can both build your own Virtual Path Providers (from now on simply VPP) for accessing files as well as change the files properties. In EPiServer CMS 5 R2 it is even possible to add these properties to each Path Provider, so... [ Read full article ]

18 November 2008  2 Comments


LoadBalancing in 6 steps

by: Allan Thræn

Allan: Occasionally I rent out space on my blog to selected guest blogger's. Today's post is by guest blogger and esteemed colleague, Michael Knudsen.   I have tried to make a list of things that must be done to make the cache update work with... [ Read full article ]

12 November 2008  7 Comments


How to use Attributtes to dynamically let editors change MasterPage on your EPiServer-site

by: Anders Hattestad

I like to dynamically add and remove features from my EPiServer sites.  When i make some new features i try to make them not strict to know implementions, and are using Attributtes as a way to retrive future implementions. Yesterday i needed to ge... [ Read full article ]

23 October 2008  1 Comments


Drag & Drop Sorting of Child Pages

by: Allan Thræn

Yet another small utility inspired by a customer. An editor came up to me and complained about the annoyance of setting sort-indexes manually to change the sort order or pages. Naturally I suggested the excellent EPiCode project ManageChildren - b... [ Read full article ]

15 October 2008  9 Comments


EPiServer and cache, not always a love story

by: Fredrik Karlsson

When you are working with some more backend stuff of EPiServer, you are never really sure if you load it from the database or from the cache. Here are a few examples. PageDefinitions When you want to load a PageDefinition, the normal way would be:... [ Read full article ]

06 October 2008  4 Comments


Silently migrating users from EPiServer 4.x to CMS 5

by: Johan Olofsson

This is an effort to work around the problem with migrating EPiServer 4.x users to the new Membership/Role-provider architecture used by EPiServer CMS5 without having to reset all the users passwords. (Passwords are stored as a calculated hashed... [ Read full article ]

06 October 2008  3 Comments


R2 express install from the command prompt

by: Per Bjurström

An express install of EPiServer CMS 5 R2 will try to figure out a unique name for the web site, database, folder etc automatically and install a site without any dialogs. This feature requires that you have a local installation of either SQL Serve... [ Read full article ]

30 September 2008  0 Comments


New module on EPiCode - QuickSearchExtender

by: Fredrik Karlsson

I have just added a new module on EPiCode, QuickSearchExtender. It allows you to extend EPiServer's quicksearch in the edit mode so you will get a menu to choose from on all the pages with a pagename that starts with your searchstring.   As you ca... [ Read full article ]

27 September 2008  2 Comments


Choosing the MasterPage through a Dynamic Property

by: Allan Thræn

Yet another answer to a question I've heard several times: "How do I make it possible for the editor to change the Master Page used for the site." It's easy to image a lot of uses for this (especially in an enterprise environment), and it's actual... [ Read full article ]

24 September 2008  0 Comments


Database performance advances in R2

by: Per Bjurström

EPiServer CMS 5 R2 introduces a bunch of database performance optimizations related to classic page functionality such as load, save, delete, empty wastebasket, loading dynamic properties, simple address etc. Fixes include table changes, stored... [ Read full article ]

24 September 2008  2 Comments


StickyTabs for EPiServerCMS5

by: Johan Olofsson

Or: “an exercise in hacking EPiServers Edit mode!”   I’ve always found it a little awkward having to do repetitive tasks spanning more than one page in EPiServer’s Edit mode as the selected tab is reset to the default “View” tab when I click on a... [ Read full article ]

23 September 2008  4 Comments


Some ActiveDirectoryRoleProvider issues

by: Johan Olofsson

There has recently poppep up some issues/questions related to the ActiveDirectoryRoleProvider that we made available for download (including sources), and as I have been somewhat involved in investigating them I thought I should share the results ... [ Read full article ]

18 September 2008  6 Comments


A simple on page css editor for EPiServer.

by: Ruwen Jin

This is a port from our old project csseditor. It is updated so that works on EPiServer CMS 5. This module will recognize styles that defined on server and it will figure out those elements that use defined styles and enable user to change it. We... [ Read full article ]

16 September 2008  8 Comments


Chrome & EPiServer

by: Ruwen Jin

Chrome is Googles new browser and it is based on WebKit , so it is in same family as Safari and the browser that will appear on Android . Most things works well on those browser except the editor. However it is easy to change the editor from... [ Read full article ]

16 September 2008  3 Comments


EPiServer CMS 5 R2 CTP 2 has shipped!

by: Paul Smith

At last a new CTP has shipped of EPiServer CMS 5 Release 2, which can be found here. Included in this version is the EPiServer Manager replacement, the EPiServer Installation Manager (it took us weeks to come up with that name :-)) We decided earl... [ Read full article ]

15 September 2008  0 Comments


Dynamic Content Examples

by: Paul Smith

Here you will find a zip file containing some Dynamic Content Examples including the Televizzle example I showed recently at the EPiServer CMS Tech Forum in Copenhagen. Installing and using the examples Unzip the file's content to the root... [ Read full article ]

14 September 2008  0 Comments


Dynamic Content Examples

by: Paul Smith

Here you will find a zip file containing some Dynamic Content Examples including the Televizzle example I showed recently at the EPiServer CMS Tech Forum in Copenhagen. Installing and using the examples Unzip the file's content to the root folder ... [ Read full article ]

14 September 2008  3 Comments


Performance lab at EPiServer

by: Per Bjurström

Since I write about performance testing I should give you some idea on how we do performance tests on the dev department. We run all our load testing using Visual Studio Team System 2008 : Visual Studio Team System Load Agent . Applies the load to... [ Read full article ]

11 September 2008  3 Comments


Problems with SearchDataSource and EnableVisibleInMenu

by: Tore Gjerdrum

Some days ago I had a problem with getting the SearchDataSource to return hits in documents stored in UnifiedFileSystem. The Search template that is delivered with EPiServer CMS 5.1 works fine. But I made a little change to the default template. I... [ Read full article ]

11 September 2008  2 Comments


Implement your own httpCacheVaryByCustom method

by: Fredrik Karlsson

Enabling httpCache in EPiServer is very crucial to get maximum performance from your system. But sometimes you might want to get the cache to differ on something else then just query strings. A typical example is to give the user the possibility t... [ Read full article ]

10 September 2008  0 Comments


Template performance: EPiServer CMS 4 vs EPiServer CMS 5

by: Per Bjurström

There have been some posts about performance improvements in EPiServer CMS 5 already, but I thought I post my results as well. These tests were conducted by applying load on the default templates on one of our test servers and then measuring hits... [ Read full article ]

10 September 2008  0 Comments


Custom virtual path provider for EPiServer CMS - Search implementation

by: Dmytro Duk

Base classes from EPiServer CMS framework UnifiedDirectory is the base class for VPP directories in EPiServer CMS. It provides virtual method Search which takes the UnifiedSearchQuery object and returns empty results list as UnifiedSearchHitCollec... [ Read full article ]

09 September 2008  1 Comments


A little gotcha with the Multiplexing Membership Provider

by: Steve Celius

The MultiplexingMembershipProvider will call GetUser before it calls ValidateUser when authenticating a user. If you set the default provider to be your own provider, ValidateUser will be called first. So, a little different behaviour there, no... [ Read full article ]

08 September 2008  2 Comments


Localize page type and page property names in EPiServer

by: Ted Nyberg (Ted & Gustaf)

This post shows how to translate page type and property names and descriptions to have them appear in the correct language in the editor interface when globalization is enabled for an EPiServer web site. Strategy for page type and property names a... [ Read full article ]

08 September 2008  9 Comments


A few quick performance fixes without changing the code

by: Fredrik Karlsson

There's a lot of performance tips out there. Most of them take some time to implement, and some can take days. And then there are these small ones you can do without much trouble at all. Here are a few tips you can specify in your web.config. Very... [ Read full article ]

03 September 2008  5 Comments


How to login to EPiServer for the first time

by: Fredrik Karlsson

This is a question I get from time to time when I'm out tutoring EPiServer for new developers. It's not rocket science, but it can still cause some confusion. So here it is, a short description on how to logon in EPiServer. You will probably get t... [ Read full article ]

02 September 2008  1 Comments


404 to Search

by: Jacob Khan

The exception 404 means that a page could not be found or opened. There is an open source 404 handler for EPiServer CMS 4 on coderesort . Ted Nyberg has written a great blog post about it here . As Ted states the issue is often going from your... [ Read full article ]

01 September 2008  2 Comments


Show Google analytics in your EPiServer

by: Ruwen Jin

  This is a plug-in that let your editor to see the statistic from Google for each page. To use this module you need a google analytics account installed google analytics code on your site. download module    or source code and use EPiServer Manag... [ Read full article ]

27 August 2008  17 Comments


Simple way to make your plug-in settings editable

by: Ruwen Jin

There is a plug-in manager in admin mode in EPiServer. You can view all plug-ins that you have installed in your site and enable or disable plug-ins. Besides that you can even have your plug-in setting edited there. It is really easy to implement ... [ Read full article ]

27 August 2008  1 Comments


Pimp up your search II

by: Allan Thræn

A common wish for people owning a web site search engine is to be able to directly influence the ranking - like boosting a certain page for some specific keywords. The built-in search in EPiServer CMS is very plain an d simple and doesn't seem to... [ Read full article ]

26 August 2008  4 Comments


Run a scheduled job as a specific EPiServer user

by: Ted Nyberg (Ted & Gustaf)

As noted in my post about how to Create a custom scheduled job in EPiServer all scheduled runs will execute as an anonymous user whereas jobs that are executed manually are run as the current EPiServer user. How to log on programmatically as a... [ Read full article ]

18 August 2008  3 Comments


How to get the simple address of a page in EPiServer

by: Ted Nyberg (Ted & Gustaf)

The following code snippet shows how to retrieve the simple address of an EPiServer page. If you want to retrieve the friendly URL of an EPiServer page instead, please see my post on How to get the friendly URL of a page in EPiServer CMS .... [ Read full article ]

15 August 2008  3 Comments


Collected news from Sales dep.

by: Sami Grahn

The Swedish Premium Solution Partner Getupdated developed www.pacemaker.net on EPiServer Community for the Swedish company Tonium. It's an online community where DJ's can create and share their music mixes. The UK Premium Solution Partner LBi have... [ Read full article ]

07 August 2008  0 Comments


EPiServer CMS 5 quick run in Visual Studio

by: Dmytro Duk

It is pretty easy to run a new EPiServer site for development. Just download and install the EPiServer CMS SDK, create EPiServer project in Visual Studio. Now it is almost ready. You can skip the membership and role providers configuration and log... [ Read full article ]

01 August 2008  4 Comments


Implementing a custom URL rewrite provider for EPiServer

by: Ted Nyberg (Ted & Gustaf)

Introduction I'm a firm believer in avoiding querystring parameters in URLs, especially for public web sites. Security, SEO and esthetics are a few reasons why. Custom URL rewriting can help you avoid those ugly ampersands and question marks, even... [ Read full article ]

24 July 2008  9 Comments


Pimp up your search I

by: Allan Thræn

Let's face it, the EPiServer CMS built-in search isn't the best in the world. Neither is it intended to be - there are a lot of 3rd party search engines available for EPiServer that are great at what they are doing - and in general I highly... [ Read full article ]

21 July 2008  8 Comments


Output EPiServer Pages as PDF

by: Allan Thræn

Got a question today from a partner about how he could make a "Download this page as PDF" functionality on a customers web site. I suppose there's quite a lot of ways to do it (just as many as there are HTML -> PDF libraries out there) but I... [ Read full article ]

07 July 2008  2 Comments


Automatic index rebuild script

by: Per Bjurström

To speed up access to the data in SQL Server we use something called indexes, most of you probably know all about it. Indexes are B-tree structures that are extremely efficient for looking up data, consider the fact that looking up row based on a... [ Read full article ]

04 July 2008  13 Comments


Friendly URL with no rebasing

by: Johan Olofsson

I got a question regarding EPiServer CMS friendly url rewriting about wether it is possible to make the rewritten url's relative to the site's root rather than the context of the requested page. If you look at the html source for a page rendered b... [ Read full article ]

01 July 2008  2 Comments


When the edit interface works but all pages return 404

by: Ted Nyberg (Ted & Gustaf)

This is just a friendly reminder about what to do when all EPiServer pages return a plain 404 File not found, but the edit and admin interfaces work perfectly well. You may even notice that the site works perfectly well using the ASP.NET Developme... [ Read full article ]

30 June 2008  1 Comments


Content Generator Preview

by: Per Bjurström

Marek Blotny wrote a post some months ago about his Dummy Content Generator which was a great initiative. At the same time I was writing a tool called Content Generator that we are using for our internal testing which did something similar but... [ Read full article ]

25 June 2008  0 Comments


How to check if a Property is marked as Searchable

by: Allan Thræn

A couple of times I've been asked how to check if a property on a page is set to be Searchable. It can be very handy to know, if you are making a search engine integration - or any other kind of textual processing of EPiServer CMS content, for tha... [ Read full article ]

23 June 2008  1 Comments


Hack: Faking HttpContext under EPiServer CMS5

by: Johan Olofsson

In my previous posts, I showed how one can "fake" a web request by creating a HttpContext and then assign it to the writeable property HttpContext.Current. Now, there is a problem using this approach under the original release of EPiServer CMS5,... [ Read full article ]

23 June 2008  5 Comments


Hack: Getting the html from a PageData in EPiServer CMS5 Part2

by: Johan Olofsson

Ok, as you found out if you tried to use the html that was generated using the code in the previous post, you'd notice that all links were rendered in the good ol "classic" style: "templates/page.aspx?id=3&language=en" So, how can we fix that when... [ Read full article ]

18 June 2008  0 Comments


Hack: Getting the html from a PageData in EPiServer CMS5

by: Johan Olofsson

I've gotten some requests for sample code showing how to get the resulting html for a EPiServer PageData so I thought I would share some ideas I had around this. The question is: "I have got a PageData instance. Now how can I (server side) get the... [ Read full article ]

18 June 2008  13 Comments


File upload in XForm

by: Jacob Khan

Hello, My name is Jacob Khan and I am the newly employed rookie researcher at EPiServer. One of my first projects was building a small EPiServer site in order to learn more about the partner experience of EPiServer. One feature of the site was tha... [ Read full article ]

13 June 2008  9 Comments


Performance testing Windows Server 2008

by: Per Bjurström

I have been doing some performance testing on Windows Server 2008 , the goal was to see differences in how EPiServer CMS behaves on different operating systems. These tests are performed using EPiServer CMS 5 SP1, the official support for Windows... [ Read full article ]

11 June 2008  6 Comments


Multiple Templates for a PageType

by: Allan Thræn

It looks like a Dev / Partner summit is the perfect birthplace for ideas to grow. Here is yet another idea that grew out of discussions with partners, eMVPs and other Guru's at the summit: It could be cool to have multiple renderings (templates) f... [ Read full article ]

10 June 2008  3 Comments


Google plug-in

by: Ruwen Jin

Google has improved its translation feature. I learned from Dan Matthew's   blog that they have AJAX APi. After a few hours  we got a plug-in. "simple google translation". in the edit mode you can let Google to translate your text. Here is a demo... [ Read full article ]

09 June 2008  2 Comments


Setting cache limits in ASP.NET 2.0

by: Per Bjurström

Since ASP.NET 2.0 you have full control over much memory the ASP.NET cache is allowed to use per application, in this example I've set it to 200MB. By looking at the performance monitor you see that the Microsoft.NET memory usage keeps itself unde... [ Read full article ]

05 June 2008  4 Comments


What a Summit!

by: Allan Thræn

So, now 3 days of learning, mingling and partying is over - and although exhausted I'm still high after attending such a great EPiServer Partner / Developer summit. It was really a pleasure to see and meet so many old and new friends, partners,... [ Read full article ]

01 June 2008  0 Comments


Performance tweak: Bulk creation of pages in EPiServer CMS 5

by: Per Bjurström

So, you are creating large amount of pages in code (1000+) and need to find ways of tweaking the performance? There is currently in EPiServer CMS 5 (SP2) a performance booster that you can use: Set PageData.UrlSegment yourself. Why ? When EPiServe... [ Read full article ]

22 May 2008  1 Comments


Overriding subscription email formatting

by: Mari Jørgensen

  The SubscriptionMail class in the EPiServer.Personalization namespace is the default subscription handler in EPiServer CMS 5. Being a bit curious to how EPiServer generated the content of the subscription emails, I used .NET Reflector to... [ Read full article ]

21 May 2008  3 Comments


The not so mysterious problem with WebResource.axd

by: Per Bjurström

Please read this post by Fredrik for the background. There is also a thread in the EPiServer forums here . So, this problem got highest priority due to a increasing number of customers experiencing this problem. I've been live debugging EPiServer... [ Read full article ]

14 May 2008  14 Comments


Module Packaging

by: Mari Jørgensen

  If you have installed the new demo package available on EPiServer World, you have already used the new module installation feature in the EPiServer CMS Manager. This feature is rather new, and IMHO one of the coolest things in EPiServer CMS 5. Y... [ Read full article ]

21 April 2008  6 Comments


Performance tweak: Optimizing StaticFileHandler in EPiServer CMS 5

by: Per Bjurström

The StaticFileHandler that serves files from a VPP is by default configured without a expiration date, or really a negative expiration time. That will cause the browser to, for every request, ask the server if there is a new version of the file, a... [ Read full article ]

18 April 2008  2 Comments


Quick Category Search

by: Allan Thræn

A request I often get is the ability to search through a lot of pages and list the pages that are in one or more specific categories. Imagine that you have an article library of say 60.000 articles and your editors have carefully categorized these... [ Read full article ]

08 April 2008  5 Comments


Using a single domain strategy with multiple languages in EPiServer

by: Ted Nyberg (Ted & Gustaf)

Introduction This post covers one way of enforcing a domain strategy for multi-language (or multi-division) sites. There are two common scenarios for multi-language site domain strategies: Use one top domain per language In this case, www.mysite.c... [ Read full article ]

04 April 2008  4 Comments


CustomPageStore - A way to integrate external data with EPiServer

by: Johan Björnfot

For some time ago we got some requirement list from a new potential customer. They have a lot (millions) of existing data items that they would like to present through EPiServer, the question for us was how they could achieve this. One approach... [ Read full article ]

04 April 2008  4 Comments


LOOP JOIN and other fun query optimizations

by: Per Bjurström

Consider this SQL Server query that is part of EPiServer CMS 5: SELECT tblPageLanguage.fkPageID, tblLanguageBranch.LanguageID as LanguageBranch FROM tblPage JOIN tblPageLanguage ON tblPage.pkID=tblPageLanguage.fkPageID LEFT JOIN tblLanguageBranch ... [ Read full article ]

26 March 2008  0 Comments


Meet the new slender tblPage

by: Per Bjurström

Back in EPiServer 4.60 when we introduced the new multilanguage support we did a lot of changes in the good old database, one of them were making a table for page languages called tblPageLanguage. This table became a subset of the main table tblPa... [ Read full article ]

25 March 2008  2 Comments


Using LINQ and EPiServer

by: Ted Nyberg (Ted & Gustaf)

Just as a brief proof of concept I decided to use a LINQ statement to retrieve and sort a list of EPiServer pages. If you haven't yet come across LINQ I would recommend Scott Guthrie's post on using LINQ . LINQ can be used to query a number of... [ Read full article ]

10 March 2008  104 Comments


Modify and publish a page programmatically

by: Ted Nyberg (Ted & Gustaf)

Inspired by Marek's post on modifying existing pages I  decided to complement my post on programmatically publishing new pages with a post on how to modify and publish existing pages in EPiServer. 1. Why you can't modify a PageData object As Marek... [ Read full article ]

06 March 2008  5 Comments


When and Where to attach DataFactory Event Handlers

by: Allan Thræn

This is a classic problem with a lot of solutions: You're building a fancy plug-in for your favorite CMS (EPiServer of course), trying to fulfill your lifelong ambition to become an EPiServer MVP , when you suddenly realize that you your plugin to... [ Read full article ]

06 March 2008  3 Comments


Customizing XForms Appearance - The Easy Way

by: Allan Thræn

Yesterday I was assisting a partner in setting up a simple "Subscribe" xform on a customer web site. It was a fairly simple setup: An input-text box for the email (validating as email), and a submit button, that should store the email in the... [ Read full article ]

06 March 2008  4 Comments


Hint: The Mysterious Tilde

by: Allan Thræn

Here's a typical rookie mistake that can even puzzle experienced developers from time to time. When working with EPiServer CMS 5 you can get quite used to using the tilde character ("~") in various URL's. When you are coding against a web... [ Read full article ]

06 March 2008  2 Comments


How to install EPiServer from the EPiServer Manager on Windows Server 2008

by: Enes Bajramovic

Update - 16/10/2008: this article was written in march when EPiServer did not support IIS7 which means Vista and Windows Server 2008. For all of you insterested to install EPiServer on you Vista or Windows Server 2008 machines I strongly reccomend... [ Read full article ]

05 March 2008  6 Comments


Replacing Property Rendering Using Adapters

by: Mari Jørgensen

  My colleague, Steve, wrote an excellent post on how the new property architecture in CMS 5 allows us take control of the property rendering . This post is a followup, illustrating the same example as Steve did, but this time using Controls... [ Read full article ]

02 March 2008  10 Comments


Search by language branch in EPiServer

by: Ted Nyberg (Ted & Gustaf)

This post is a complement to my previous post about searching pages with EPiServer . I have gotten a few questions about how to limit a page search to include pages from a specific language branch. Since this is truly a basic requirement when... [ Read full article ]

02 March 2008  5 Comments


Taking Control of Property Rendering

by: Steve Celius

I answered a question in the developer forum today, about the span tags that the EPiServer:Property control renders when you pass it the name of a PropertyString property. The thing is; the Property control itself supports setting a CSS class,... [ Read full article ]

28 February 2008  2 Comments


The Visual Studio tools for EPiServer on Visual Studio 2008

by: Fredrik Tjärnberg

We have a product backlog item about making our Visual Studio tools for EPiServer CMS 5 support VS 2008. The goal is to provide the same functionality for developing EPiServer projects in VS 2008 as we support in VS 2005. In the mean time, what ca... [ Read full article ]

27 February 2008  13 Comments


EPiServer CMS 5 SP1 - Hotfix 1 is available

by: Mari Jørgensen

  A lot of you Norwegian developers (and editors) are probably aware of the bug referred to as "the norwegian date problem", officially known as #8099 - Error while parsing a date in Norwegian format. If you have selected Norwegian as your user... [ Read full article ]

21 February 2008  2 Comments


EPiServer Pie with freshly cut MVC

by: Allan Thræn

Or how to integrate ASP.NET MVC into an existing WebForms Web Application Project.   After having studied Scott Guthrie's excellent posts on ASP.NET MVC and attended a pretty good Tech Talk at Microsoft yesterday I decided the time was right to... [ Read full article ]

21 February 2008  8 Comments


Check to see if a page exists for a specific language branch

by: Ted Nyberg (Ted & Gustaf)

Have you ever wanted to know if a specific EPiServer page exists for a specific language? I recently came across an implementation that looked something like this: try { DataFactory.Instance.GetPage(myPageLink, new LanguageSelector( "en" ); } catc... [ Read full article ]

11 February 2008  2 Comments


Programmatically configure customErrors redirects

by: Ted Nyberg (Ted & Gustaf)

I previously posted a possible solution for handling 404 exceptions in EPiServer websites, but here's an alternative and possibly more elegant way of configuring custom error redirects for EPiServer. What I wanted to accomplish I wanted to be able... [ Read full article ]

09 February 2008  11 Comments


How to get the friendly URL of a page in EPiServer CMS

by: Ted Nyberg (Ted & Gustaf)

Maybe there are other posts about this, but I thought I'd share an easy way of getting the friendly URL of a page since I've gotten questions about it on numerous occasions: public static string GetFriendlyURL( PageReference PageLink, string URL) ... [ Read full article ]

07 February 2008  9 Comments


Use EPiServer Manager when upgrading to CMS 5 SP1

by: Ted Nyberg (Ted & Gustaf)

...or read this once you've ignored that piece of advice Eager to update to EPiServer CMS SP1 I got a bit careless. I finished my development locally, published and tested it on our staging server and then finally published it to the live server. ... [ Read full article ]

06 February 2008  3 Comments


Opening a new EPiServer CMS 5 SP1 project in VS 2008

by: Steve Celius

When you install a new EPiServer CMS 5 project using the EPiServer CMS Manager, the .csproj file shipped is for Visual Studio 2005 SP1. Opening the project in Visual Studio 2008 will start the project upgrade wizard, which will fail if you have... [ Read full article ]

30 January 2008  4 Comments


EPiServer and the Visual Web Developer 2008.

by: Fredrik Tjärnberg

I've heard the question "Can we use the Web Site model of Visual Studio to build our EPiServer solution" a couple of times and up until now the answer to this question have been "No!". The reason for this is that there is no way to exclude files a... [ Read full article ]

24 January 2008  4 Comments


Upgrading Your CMS Site

by: Mari Jørgensen

  Now that EPiServer SP1 is available, you might want to use the EPiServer CMS Manager to upgrade your site. Keeping that in mind, here is something nice to know. When upgrading you might recieve this error message: 1. In the sites bin folder, che... [ Read full article ]

22 January 2008  0 Comments


EPiServer CMS 5 SP1 has shipped

by: Steve Celius

You can grab it on the Knowledge Center . Make sure you use the new EPiServer CMS Manager. One of the new things in the SP1 release is the Content Channel Service, which can be used to feed and synchronize your EPiServer content from external... [ Read full article ]

22 January 2008  1 Comments


EPiServer File links on Vista

by: Ruwen Jin

EPiServer has already a static file handler by default. That is before IIS 7. IIS7 includes a static file handler as well. Right now you need disable IIS 7 static file handler to make EPiServer  file links to work. Here is how:   open your IIS... [ Read full article ]

21 January 2008  4 Comments


Run EPiServer Manager under Vista

by: Ruwen Jin

Manager has a lot of nice features such as install modules and upgrade site. Last time I wrote about install EPiServer manually. But I didn't give it up. Here is how you make manager works on Vista. First of all you need enable windows feature "II... [ Read full article ]

21 January 2008  7 Comments


Google Maps in EPiServer CMS 5

by: RockViggo

The Google Maps integration with EPiServer has been available from the old research site , for some time now. The module lets editors create POI's as pages in EPiServer with rich text formatting. It has never been easier to create professional... [ Read full article ]

19 January 2008  0 Comments


Disable URL rewriting for specific URLs

by: Ted Nyberg (Ted & Gustaf)

There comes a time when you need to prohibit URL rewriting for specific URLs within your EPiServer CMS website. For example, I've implemented an ashx handler that is used to deliver vCard files on our company's web site. If I would insert a regula... [ Read full article ]

17 January 2008  67 Comments


Configuring Enterprise Sites

by: Mari Jørgensen

The other day I was setting up my first EPiServer CMS 5 Enterprise site, using the following technical note as a guide. I had some trouble getting *internal links to work - *internal meaning links within the same EPiServer database, but on another... [ Read full article ]

15 January 2008  4 Comments


Compare and keep language files in sync

by: Steve Celius

In my opinion, one of the coolest features of EPiServer is the way language resources are handled. The ease of use and flexibility of xml files in the /lang directory is very powerful. At startup, your EPiServer site will load all the .xml files i... [ Read full article ]

14 January 2008  2 Comments


Multiplexing Provider and Security

by: Steve Celius

The Multiplexing providers in EPiServer CMS 5 allows several role and membership providers to be chained together, thus attempting to authenticate and authorize users against different providers. This is very powerful, allowing users from differen... [ Read full article ]

11 January 2008  1 Comments


Status property always returns VersionStatus.Published

by: Ted Nyberg (Ted & Gustaf)

I ran into some interesting anomalies involving "Access denied" when trying to fetch published pages using the GetChildren() method. I tried to determine whether or not a page was published by checking the Status property and making sure it was... [ Read full article ]

10 January 2008  2 Comments


Determine if it is a new page on page publish event

by: Ruwen Jin

When you listen to page publish event sometimes you want to need know if it is a new page or it is a update of old page. One way to do it is listen to CreatedPage event. If one page goes through both CreatedPage and PublishedPage events it is a ne... [ Read full article ]

09 January 2008  1 Comments


Install EPiServer CMS 5 on Vista

by: Ruwen Jin

Prerequisite: Vista IIS and IIS Manager SQL 2005 or SQL Express 2005   Microsoft SQL Server Management Studio Express A valid EPiServer License. ( You don't need download the Manager since it does not work on Vista . ) Files   Download EPiServer C... [ Read full article ]

07 January 2008  11 Comments


IE popup window disappears while QTP Script Execution!!

by: Lakshminarasimha Manjunatha Mohan

A strange problem of Mercury QuickTest Pro 9.2 with Internet Explorer 7.0 is discussed with solution. Problem: While executing scripts in IE 7.0 if another browser is opened by the script as a result of an operation or test step, the pop up window... [ Read full article ]

05 January 2008  29 Comments


LINQ Extensions for EPiServer

by: Allan Thræn

  The topic of this post is something that in a short time has climbed very high on my personal wish-list for EPiServer. By now Christmas has both come and gone, without Santa dropping off any kind of ELINQ (nice name I thought off, eh) under my... [ Read full article ]

04 January 2008  5 Comments


Refused by SQLExpress

by: Mattias Nordgren

Yesterday I almost killed myself after struggling with an error during an installation of EPiServer CMS on Vista. I got this error message when trying to browse the web site: (provider: TCP Provider, error: 0 - No connection could be made because... [ Read full article ]

04 January 2008  2 Comments


EPiServer Workflows

by: Johan Björnfot

As you perhaps have noticed we introduced a completely new workflow implmentation in EPiServer CMS 5. This implementation is based on Windows WorkflowFoundation (WF) that was shipped with .NET 3.5. A typical scenario where a workflow can be used i... [ Read full article ]

17 December 2007  6 Comments


Pimp my CMS

by: Per Bjurström

No kidding, there is actually a tag on Flickr called pimpmycms , but it's largly a disappointment or what you think about this "freaked out" movable type . And how did I end up there you may ask and probably should ask, well I changed the color... [ Read full article ]

13 December 2007  4 Comments


Estimate time when migrating to EPiServer CMS 5

by: Roger Wirz

When you try to migrate a site from EPiServer CMS 4 to 5 you will have some challenges ahead of you. Besides the obvious steps - to upgrade to 4.62, to setup a new CMS 5 and to move data - you will need to rewrite parts of the code in the project.... [ Read full article ]

13 December 2007  1 Comments


Override EPiServer url rewrite behavior

by: Ruwen Jin

It is common in database driven web application to use id as parameter in querystring. By default EPiServer will assume that id parameter in querystring is only using by EPiServer and will remove it from Request.QueryString. And the recommend way ... [ Read full article ]

12 December 2007  11 Comments


Unable to send e-mail without local SMTP server

by: Ted Nyberg (Ted & Gustaf)

When you try to send e-mail through an external SMTP server using the System.Net.Mail namespace classes, you may encounter an error saying " Cannot get IIS pickup directory". Often this has to do with permissions, but I recently discovered another... [ Read full article ]

12 December 2007  4 Comments


ProfileProvider performance issues - followup!

by: Johan Olofsson

Doing some more digging into this, I found that this situation only happens when using EPiServer CMS5s WindowsMembershipProvider, and peeking inside it's implementation of GetUser() turns out that it calls into the Profile Provider to get at the... [ Read full article ]

11 December 2007  2 Comments


ProfileProvider performance issues??

by: Johan Olofsson

When developing a custom Asp.Net profile provider for the CRMConnector project, I came to notice that the provider's implementation of GetPropertyValues() might be called upto as many as four times for one single web request(!) For example, when... [ Read full article ]

10 December 2007  0 Comments


UpdatePanel in EPiServer CMS

by: Johan Björnfot

In the released version of EPiServer CMS 5 (version 5.1.422.4) there is a problem when using UpdatePanel when FURL (Friendly URL) is activated on the site. The problem occurs because the AJAX callbacks from UpdatePanel will in some cases update th... [ Read full article ]

10 December 2007  4 Comments


Lessons learned: Module Conversion

by: Mari Jørgensen

Last week I spendt a lot of hours converting one of the EPiCode modules (the MultiPageProperty ) to EPiServer CMS 5. Here are some of the lessons I learned.  References First step is replacing EPiServer  references. Note that we will need 3... [ Read full article ]

30 November 2007  1 Comments


Content Channel

by: Johan Björnfot

We have devloped a Sharepoint Connector to EPiServer CMS 5. Part of this project was to design a connection point in EPiServer which the SharePoint connector could use to communicate with EPiServer. This lead us in to the design of Content Channel... [ Read full article ]

30 November 2007  1 Comments


"Impersonating users"

by: Johan Olofsson

I sometimes need to run code, especially EPiServer page retrieving/submitting, within a specific user's context, preferrably without having to log them in (and thus having to know and store their password) One approach to this might look something... [ Read full article ]

29 November 2007  2 Comments


PageTreeLoader / PageTreeReader is gone

by: Johan Olofsson

If you (like me) have been using the nifty functions PageTreeLoader / PageTreeReader to load complete hierarchies of pages in EPiServer 4.x, you'll notice that these functions are now gone in EPiServer CMS5 and that EPiServer.Legacy4 suggests that... [ Read full article ]

29 November 2007  1 Comments


File Selection Drop Down List

by: Allan Thræn

I just got a request for a code-sample on how to display a list of files from the unified file system in a drop-down list in EPiServer CMS 5, so I composed a small example (thanks for your kind help, Ruwen!). First I define the drop-down-list - th... [ Read full article ]

27 November 2007  0 Comments


Playing around with LINQ and EPiServer CMS 5

by: Allan Thræn

I finally found a moment to begin playing around with EPiServer CMS 5 in conjunction with LINQ and the cool features of C# 3.0. Ever since I first saw Anders Hejlsberg present  his thoughts on LINQ several years ago, I've been dying to get my hand... [ Read full article ]

26 November 2007  2 Comments


XSLT in EPiServer CMS 5

by: Allan Thræn

Personally I'm not a big fan of neither XSLT nor XML. In fact, my feelings around XML is expressed in this quote I heard recently: "XML is like children. They start out cute and small, then they grow..." (I don't remember who said it - if it was... [ Read full article ]

23 November 2007  4 Comments


EPiServer CMS 5 in Visual Studio 2008

by: Per Bjurström

We have been looking at VS2008 Beta 2 for some time now and finally we got the RTM in our hands. So, we have initiated the upgrade of our EPiServer CMS 5 code base to Visual Studio 2008/.NET 3.5 and it is looking very good, everything compiles and... [ Read full article ]

20 November 2007  2 Comments


45 hps or 200 hps with Http Cache - on a laptop

by: Roger Wirz

I was preparing myself for a customer meeting, focusing on performance in EPiServer CMS 5. I got some interesting figures out of the test that could be of interest. Without the HTML Cache, the site was able to deliver 40-50 hps (hits per second),... [ Read full article ]

20 November 2007  0 Comments


Show Published Pages (Versions) in a Specific Time Span

by: Allan Thræn

Since I'm still trying to learn my way around EPiServer I grab whatever chance I get of coding something a bit out of the ordinary, and today was no different. At a Developer Course I was attending, the need came up for a page that would list all... [ Read full article ]

16 November 2007  1 Comments


Two exiting days in Oslo

by: Roger Wirz

I have spent two existing days in Oslo, Norway. On the first day I attended the much appreciated Techforum at Chateau Neuf .  EPiServer CMS 5 was described from several angels; new features, migration from version 4 and performance issues. On the... [ Read full article ]

15 November 2007  0 Comments


EPiServer property getter cleaner-upper

by: Adam Najmanowicz (Cognifide)

Just a daily time saver, for reuse at another time. Any old time windows developer, will remember the fun of using the ini files with GetPrivateProfileString . As much as ini files sucked there is one nice aspect of that call - you can setup a... [ Read full article ]

14 November 2007  0 Comments


A Simple Page Import Web Service

by: Allan Thræn

In EPiServer CMS 5 there's a couple of very useful Web Services that gives you pretty thorough access to do just about anything you please - at least with regards to adding / searching / modifying pages. However the Web Services can be pretty... [ Read full article ]

09 November 2007  2 Comments


WebService and CMS

by: Ruwen Jin

 In Ajax.Net user can call web service through JavaScript. The URL that will take the call is something like: http://myserver/webservices/datafactoryservice.asmx/Ping Normally IIS will take care of parse /Ping to PathInfo. But since CMS is using... [ Read full article ]

07 November 2007  1 Comments


Get URL in EPiServer CMS

by: Ruwen Jin

UrlBuilder ub = new UrlBuilder(UriSupport.Combine(SiteUrl, pageData.StaticLinkURL + "&epslanguage=" + language)); EPiServer.Global.UrlRewriteProvider.ConvertToExternal(ub, pageData.PageLink, System.Text.UTF8Encoding.UTF8); String url =... [ Read full article ]

07 November 2007  0 Comments


One week with EPiServer CMS

by: Ruwen Jin

EPiServer CMS is released. Now it is time to convert some projects. Here is list of things that I need to convert: EPiServer.Global.EPDataFactory is replaced by DataFactory.Instance EPiServer.Global.EPConfig is moved to EPiServer.Configuration.Set... [ Read full article ]

07 November 2007  0 Comments

Syndications


Archive


Tag cloud

EPiTrace logger