Debugging

Add Community to your site created via VS Extensions

Set the playground After you have successfully followed Ted’s tutorial on how to create a site using almost nothing else than Visual Studio. Next thing what is in your work queue is to add EPiServer Community functionality on top of this. Add Community via Deployment Center One of the way is old-school – via Deployment Center. First of all you may even be able not to see your site there (regardless that you have added it to IIS). While surfing of EPiServer source code using surfboard with Reflector sticker on…

Keep reading

Chasing for NullReferenceException in EPiServer Relate+

This is a blog post telling a short story about one of the developer’s nightmare beast hunting case – System.NullReferenceException. Hunting Game Starts Once up on a time I received an interesting issue regarding user authentication in one of the projects. Issue description was telling that it was not possible for the users to login to the site. We were using EPiServer Relate+ in that particular area of the application. At least I had something for the exceptional case on production server. Following message was observed in local Windows…

Keep reading

Format Your Exception Message Properly

Not so Nice Failure I was hacking around NServiceBus (NSB) application and came across pretty unpleasant failure from NSB. So in short we were using Unicast bus that basically means that producer-side of the message has to have a configuration set to which NSB endpoint particular message should be sent. In this case we were using Microsoft Azure Storage Queues as physical transport level. In case when you don’t have a particular configuration to instruct NSB where the message has to be delivered you may encounter following exceptional message:…

Keep reading

Pragmatic problem solving – Answer to the EPiServer forum question

At some point I was questioned about how I’m learning and finding the answers. Generally for the learning process a huge inspiration came from “Pragmatic Thinking and Learning: Refactor Your Wetware” by Andy Hunt. Software development happens in your head. Not in an editor, IDE, or design tool. You’re well educated on how to work with software and hardware, but what about wetware—our own brains? Learning new skills and new technology is critical to your career, and it’s all in your head. Walk-through learning and research…

Keep reading