Dynamic fuzzy search with LINQ and entity framework and jQuery autocomplete part 1

Search has always been my most desired feature in applications and if I were to guess, I’m not the only one with this craving. The comfort and flexibility it gives you is enormous under one condition – it’s smart enough. Let’s dig a little bit into the subject. Google has a well known feature that tries to suggest a different phrase if the one you entered is ‘a bit off’ (a.k.a …

By on (tags: fuzzy search, categories: code)

Making NotifyPropertyChanged refactorable.

Common problem when using INotifyPropertyChanged interface is that the PropertyChangedEventHandler event accept a string property name as a parameter. That cause a possible problem when we want to refactor the property and forget to update the provided property’s name. There is a plenty of blog threads in the web that tries to solve this problem. The very common solution benefi…

By Mirek on (tags: INotifyPropertyChanged, categories: code)

Bringing “Create Unit Tests…” option back

Since I stared using Visual Studio 2012 I noticed a lack of quite helpful and commonly used (I guess) feature which is Create Unit Test context menu option. It turned out that this is still there… …but hidden from the user. Going through the jungle of VS customization options you can find it and make it visible in context menu. But there is an easier and more elegant way descri…

By Mirek on (tags: Unit test, Visual Studio 2012, categories: tools)

Task-based Asynchronous Pattern

Task-based Asynchronous Pattern with async and await keywords introduced in .net framework 4.5 starting point. First recommendation is downloading and reading 96 pages document about Task-based Asynchronous Pattern from Microsoft Download Center. Next go through the msdn lab: here and article  here. Have a nice reading…

By Mirek on (tags: async, TAP, categories: architecture)

MV* javascript libraries

You probably heard about knockout.js. Well, there are others like it.   Here are a few that I plan to look at in the nearest future: Angular – developed and maintained by google. Read some good reviews about it. Durandal – not sure how I stumbled upon that, but they do have a bold punch line – “Single page apps done right” – and just for that, it’s worth looking at Backbon…

By on (tags: javascript, categories: tools, web)