Blog posts by Mikko Huilaja2016-10-24T20:30:05.0000000Z/blogs/Mikko-Huilaja/Optimizely WorldTOP 10 Episerver CMS 10 Changes for Developershttp://blog.huilaaja.net/?p=18122016-10-24T20:30:05.0000000ZFirst of all, Episerver 10 is backward compatible 99.9% but in upgrade you should be aware of few things! Here is my top 10 list of CMS changes: 1 Add-ons EPiServer.CMS.Core All add-ons are not yet updated to support new major version. 2 CMS-2295 EPiServer.CMS.UI Remove support for legacy dot syntax for dojo modules 3 […]CSV Table Block Concept for Episerverhttp://blog.huilaaja.net/?p=17262016-05-13T09:40:34.0000000ZThis is an option to avoid usage tables in WYSIWYG HTML editor. Tables in any rich text editor have always be problematic for responsive design, but data often exists in table format (example in Excel) so the usage of table tools is inevitable. We are using CSV (comma separated values) as description of table because almost all systems […]Scheduled Job Manager for cleaning Episerver background taskshttp://blog.huilaaja.net/?p=17172016-05-06T12:58:16.0000000ZEpiserver scheduled job manager for cleaning and maintaining scheduled jobs. Sometimes you may find old scheduled jobs in database if the scheduled job is renamed, moved or deleted. Old Scheduled jobs are not automatically deleted but with this tool you can easily and safely delete those useless scheduled jobs. This is basically single file solution […]Episerver Forms esityksen kalvothttp://blog.huilaaja.net/?p=17132016-04-22T12:14:25.0000000ZEilen 21.4.2016 järjestettiin Episerver Developer Meetup jossa pidin esityksen Episerver Forms:eista. Kiitos kaikille paikalla olleille ja tässä vielä esityksen kalvot.No parameterless constructor exception, Greediest Constructor and DefaultConstructor-attributehttp://blog.huilaaja.net/?p=17022016-04-13T14:39:51.0000000ZYou propably have pump into IoC framework (StructureMap) problem “No parameterless constructor” but are you familiar with StructureMap constructor selection, greediest constructor rule, default constructor attribute and good practices of implementing multiple constructors. You probably have seen this YSOD-screen before and it actually says that my StartPageController-does not have parameterless constructor. In this case the original […]Redirect Manager for Episerver HTTP 301 redirectshttp://blog.huilaaja.net/?p=16672015-12-09T12:12:37.0000000ZRedirect Manager is simple, portable, extendable, open source redirect tool for Episerver projects. Redirection rules Here’s couple of examples what kind of rules are possible. Description It’s built to be as minimalistic as possible and as an example of simple Episerver add-on. It requires only 4 files for business logic and data access, 1 controller […]EPiServer Content Area Renderer With Row Supporthttp://blog.huilaaja.net/?p=16272015-09-14T13:30:17.0000000ZEPiServer Display options is a really nice feature but it’s lacking a row rendering option for Bootstrap Grid system. Without row-elements your grid will got broken quite easily and you need to create “dirty CSS hacks” to fix it. To create rich content with various types of blocks and content sizes you need to separate […]ContentReferenceList property in EPiServer CMS 8.6.0http://blog.huilaaja.net/?p=16112015-08-19T14:10:40.0000000ZEPiServer just released a excellent new property type ContentReferenceList or in code it’s written IList<ContentReference>. In Edit view ContentReferenceList property makes it easy to drag & drop content and it clearly says which content types are allowed. Selection view makes it easy to recognize which pages are allowed. And the code is the prettiest part […]EPiServer in Azure Web Sites and SQL Azurehttp://blog.huilaaja.net/?p=15162014-03-03T08:20:25.0000000ZIs the EPiServer 7.5 Azure compatibility real or just some sales pitch. Make your own decision and look at my demo site. It might look familiar 🙂 banana.testaaja.net or bananaazuredemo.azurewebsites.net (please click and make some traffic because I’m trying to collect data of the usage and costs) EPiServer 7.5 has gone through some changes and […]Deploying EPiServer Alloy Database to SQL Azurehttp://blog.huilaaja.net/?p=15082014-03-03T06:50:12.0000000ZThis article is related to article EPiServer in Azure Web Sites and SQL Azure. Deploy EPiServer 7.5 Alloy template database to the SQL Azure you will probably get at least 3 errors: Error SQL70015: Error validating element [dbo].[aspnet_Membership_GetNumberOfUsersOnline]: Deprecated feature ‘Table hint without WITH’ is not supported on SQL Azure. Error SQL71564: Table Table: [dbo].[CompletedScope] […]EPiServer Default Controller to avoid dummy controllershttp://blog.huilaaja.net/?p=14992014-02-07T15:14:01.0000000ZEPiServer MVC site often have controllers that do not have any logic and so they shouldn’t even exist. EPiServer have done great job to allow inheritance and covariance in controller selection. So you can set up your default controller which is used when you haven’t created explicitly controller. Here’s a simply default controller which do […]EPiServer Edit Mode Language and Culture Selection Bug Fixhttp://blog.huilaaja.net/?p=14702014-01-22T11:59:44.0000000ZEPiServer 7 and 7.5 still have this nasty bug that it uses wrong culture for showing resource texts and datetimes etc. You can read more about the bug from here: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=71724. There is a unofficial fix for the problem that has worked for me and my projects. Fix is basically simple. We just set the […]Web Deploy Error: User Not Admin from MsDeployAgentServicehttp://blog.huilaaja.net/?p=14402013-10-06T09:28:53.0000000ZI just bump into this familiar web deployment error USER_NOT_ADMIN, but this time was different that I was sure it wasn’t caused by faulty installation or permission issues. Difference was that for the first time I was using Windows Server 2012 and IIS 8.0. Server was not connected to any domain and I had administrator […]Block Preview Thumbnail Imagehttp://blog.huilaaja.net/?p=13792013-05-25T01:37:34.0000000ZWould’t it be nice to see preview images which kind of page or block type are you creating? If you are creating new block, would this kind of view be nice? Jon Menzies-Smith has made a great EPiBoost library which include many nice features but one thing I really admire was a feature which display [...]Why do I prefer using blocks in EPiServerhttp://blog.huilaaja.net/?p=13732013-05-21T11:58:57.0000000ZIn EPiServer 7 there are several ways to design and implement features and because of such a wide scale of ways to do it, it’s often hard to find the most suitable way for specific case. As a developer/architect perspective these are the most important reasons why I prefer to use blocks: Blocks help defining [...]Using Indexing Service With Both HTTP and HTTPShttp://blog.huilaaja.net/?p=13522013-05-05T11:33:25.0000000ZIn my previous article I showed how to modify Indexing Service when SSL is used, but in some cases you might want to use Indexing Service simultaneously with SSL and without it. Example if you allow users to access EPiServer back-end with HTTP and HTTPS protocols or your environments (local, test, staging, production) use different [...]With adaptive images mobile users load only 14% of desktop datahttp://blog.huilaaja.net/?p=13402013-04-11T08:16:24.0000000ZWith adaptive image we were able to decrease amount of transferred data to 14% from desktop view. So mobile browsers even with low speed are able to have good browsing experience. Size of all images without adaptivity in desktop view is 1,2MBytes. Size of images with adaptivity in mobile view is 0,17MBytes. So if you [...]Adaptive Imageshttp://blog.huilaaja.net/?p=13192013-03-28T13:42:22.0000000ZWe just launched new responsive web site www.lemminkainen.fi. It has lot of great features but one of them which you might not notice is the adaptive images. With the site like lemminkainen.fi there normally are lot of different kind of content and there are also many different size of images. Documentation had 18 different predefined [...]EPiServer 7 Convert Pages doesn’t limit to selected pagehttp://blog.huilaaja.net/?p=13052013-02-14T12:50:55.0000000ZI started to worry this conversion when I notice that conversion log announced removing 14 properties although I had selected only I page to convert. Just to test page conversion I marked to remove MainBody property So when I converted ONLY “convert test page” it also removed the MainBody property from all the other same [...]EPiServer Indexing Service Stops Indexing with SSLhttp://blog.huilaaja.net/?p=12682013-02-13T11:50:39.0000000ZWe were having problems with EPiServer 7 indexing service because it suddenly stops indexing content without any error message. Global search work perfectly but search results didn’t update. Error log told us “There was no channel actively listening at ‘https://www.example.com/IndexingService/IndexingService.svc/namedindexes/?accesskey={accessKey}’. This is often caused by an incorrect address URI. Ensure that the address to which [...]