webpoet

Stories submitted by webpoet

Would you like some business logic with that search?(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 7 months, 11 days ago

The BoostMatching method in the Truffler .NET API allows developers to boost search hits that match a certain criteria. This article illustrates how to implement both business rules to optimize search results as well as optimizing search results using geographical coordinates. read more...

add a comment |category: |Views: 2

tags: another

Introducing Truffler – Advanced search made easy(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 7 months, 24 days ago

Truffler aims to make building advanced search and querying solutions easy and fun. While the REST API is built on ElasticSearch and is technology agnostic Truffler also offers a .NET client API with which devs can index and search for their domain objects rather than fixed or untyped data. Truffler is offered both as Software as a Service and as dedicated servers, of course with a free version available for developers. read more...

add a comment |category: |Views: 6

tags: another

The DRY obsession(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 9 months, 18 days ago

A reflection/rant about the over exaggerated focus on the DRY principle many of us bear with us from school. read more...

1 comment |category: |Views: 11

tags: another

A neat little type inference trick with C#(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 11 months, 24 days ago

C# offers type inference for methods, arrays etc but not for constructors. In some cases we can however still reap the benefits of type inference by using factory methods. read more...

add a comment |category: |Views: 7

tags: another

Getting property and method names using static reflection in C#(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 11 months, 24 days ago

A set of utility methods for getting the name of .NET class properties and methods in a strongly typed way by parsing expression trees with C#. read more...

add a comment |category: |Views: 18

tags: another

Getting started with EPiServer CMS development(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 3 months ago

EPiServer CMS is a product with a lot of features and some specific concepts. Beginning EPiServer development can therefor be confusing if one isn't able to find the proper guidance. This is my attempt to help developers new to EPiServer development to get off to a good start with a number of links and other forms of advice. read more...

add a comment |category: |Views: 11

tags: another

Sweet EPiServer Templating with TypedPageList(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 4 months ago

Recently I have been working on a custom web control with similar capabilities as EPiServers PageList control. This control, as opposed to the PageList control, handles statically typed subclasses of PageData. It also exposes a number of extension points that I hope should make it flexible and nice to work with. read more...

add a comment |category: |Views: 1

tags: another

Detecting mouse and keyboard input with .NET(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 5 months ago

Recently I built a small .NET application with WPF that needed to detect system-wide mouse and keyboard input. In order to do so I had to do some low-level hooks from .NET into Windows. In this post I discuss how I did them and offer some downloadable sample code. read more...

add a comment |category: |Views: 4

tags: another

Free yourself from the mouse using Mouse Nag(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 5 months ago

Mouse Nag is a simple, new, open source program for Windows that aims to make it harder, while still possible, to use the mouse in order to practice using the keyboard more while developing. read more...

add a comment |category: |Views: 3

tags: another

Creating a Custom EPiServer Property with a Custom Class as Value(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 7 months ago

In my a previous post I described how properties work in EPiServer as well as common patterns and practices when creating custom properties. In this part we'™ll get our hands dirty by creating a custom property. read more...

add a comment |category: |Views: 6

tags: another

How to create a custom EPiServer property(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 8 months ago

In this and a series of subsequent posts I’ll provide an in-depth guide to creating custom properties for EPiServer CMS. In this first post we’ll focus on theory. We’ll look at what properties are in EPiServer and at how EPiServer’s property model works. We’ll also study PropertyData, the abstract class that all EPiServer properties must inherit from and discuss different strategies that we can use when creating custom, or specialized, properties for EPiServer. read more...

add a comment |category: |Views: 21

tags: another

Learning Scala(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 9 months ago

In this and a series of following posts I describe my experiences learning Scala as a .NET developer, often with comparisons to Java and C#. In this first post I talk about why I started learning Scala and in following posts I provide a basic and concise tutorial for learning Scala as a Java or C# developer. read more...

add a comment |category: |Views: 5

tags: another

Using MSpec – a few weeks in(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 9 months ago

I've been using the BDD framework MSpec (short for Machine.Specification) for a few weeks now and I love it! It has however meant that I've had to make a few mental shifts compared to how I usually write my tests, which I describe in this post. read more...

add a comment |category: |Views: 27

tags: another

Manage multiple web.config files using Phantom(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 10 months ago

In the project that I'm currently working on there are a few different environments involved on which the application has to be compiled and run on. Luckily we've found a pretty slick way to handle having local differences in web.config. read more...

add a comment |category: |Views: 5

tags: another

A simple example of the Open/Closed Principle(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 10 months ago

The Open/Closed Principle says that we should strive to write code that doesn’t have to be changed every time the requirements change. When using Java, C# or other statically typed languages the solution often involves inheritance and polymorphism, which is what this simple example illustrates. read more...

add a comment |category: |Views: 34

tags: another

Help your EPiServer CMS editors with a smarter PageReference property(joelabrahamsson.com)

submitted by webpoetwebpoet(415) 1 year, 10 months ago

One way of helping, or rather guiding, the editors in EPiServer CMS that I’ve been wanting to do for quite some time would be to create a custom property with which an editor only can select page that are of a specific, or a group of specific, page types. read more...

add a comment |category: |Views: 4

tags: another