Share via


Matthew Manela's Blog

Inheriting base type mappings with AutoMapper extension

AutoMapper is a useful library that makes it easy to map properties between two types. You can...

Author: Matthew Manela Date: 01/07/2011

Using NHibernate with existing ADO.NET transactions

My co-worker Matt Wrock wrote an excellent blog post about using ADO.NET transactions in conjunction...

Author: Matthew Manela Date: 01/04/2011

Water Pipes: My first Windows Phone app

About the Game My first Windows Phone application, Water Pipes, has just been published to the...

Author: Matthew Manela Date: 12/30/2010

OpenWithTest 0.4 Released

OpenWithTest 0.4 has been release on the Visual Studio Gallery. If you already have it installed you...

Author: Matthew Manela Date: 11/19/2010

A simple JavaScript stubbing function

Stop! If you are looking for a full featured JavaScript stubbing/mocking library you will be...

Author: Matthew Manela Date: 10/02/2010

Functional stateful programming in F#

F# is a multi-paradigm language which lets you program in both a functional pure manner and a...

Author: Matthew Manela Date: 09/23/2010

Launching the TortoiseHg log more conveniently from the command line

When working with Mercurial I usually perform most tasks from the command line but often I want to...

Author: Matthew Manela Date: 09/18/2010

The Nu package management system and DiffPlex

I published the DiffPlex gem for use with Nu. Nu is a package management system for .NET which is...

Author: Matthew Manela Date: 09/16/2010

Making an executable take pipelined input in PowerShell

It annoys me when I am working with PowerShell try to pipe the results of a cmdlet into a exe which...

Author: Matthew Manela Date: 08/29/2010

FastSharp 2.0

I just released a new version of my FastSharp program. Download it  or  View the source...

Author: Matthew Manela Date: 08/08/2010

A StructureMap Gotcha

I started converting one of the projects I work on to use the StructureMap DI/IOC framework. The...

Author: Matthew Manela Date: 08/06/2010

Download Either download from the extension manager by searching OpenWithTest or go to the project...

Author: Matthew Manela Date: 06/30/2010

Snippet Designer 1.3 Released!

I just released Snippet Designer 1.3. CodePlex Page: https://snippetdesigner.codeplex.com/ Visual...

Author: Matthew Manela Date: 06/01/2010

DiffPlex 1.1 Released

I released a small update to DiffPlex that helps improve performance for both the release and debug...

Author: Matthew Manela Date: 04/21/2010

A Mercurial PowerShell Prompt

Since switching to Mercurial I often use the “hg summary” command. hg summary [--remote]...

Author: Matthew Manela Date: 04/01/2010

DiffPlex 1.0 Released!!

The DiffPlex (https://diffplex.codeplex.com) project is now available on Codeplex! The DiffPlex...

Author: Matthew Manela Date: 02/27/2010

Snippet Designer 1.2 Beta Release with Visual Studio 2010 Support

Yesterday I released Snippet Designer 1.2 Beta. Codeplex Page: https://snippetdesigner.codeplex.com/...

Author: Matthew Manela Date: 01/22/2010

Regex based Lexer with F#

This lexer allows you to define your regular expression based rules in a very declarative way using...

Author: Matthew Manela Date: 01/19/2010

Regex based Lexer with F#

This lexer allows you to define your regular expression based rules in a very declarative way using...

Author: Matthew Manela Date: 01/19/2010

Count the number of lines in your project with one line of Powershell

ls * -recurse -include *.aspx, *.ascx, *.cs, *.ps1 | Get-Content | Measure-Object -Line Just replace...

Author: Matthew Manela Date: 12/11/2009

Useful Moq Extension Method

I have been working with ASP .NET MVC and I use the Moq mocking library to help test the code I...

Author: Matthew Manela Date: 11/24/2009

Converting RTF to HTML

Have you ever had the desire to convert some RTF text into HTML? Probably not. But if you do, then...

Author: Matthew Manela Date: 09/28/2009

I finally got fed up with Enum.Parse

I don’t know why I didn’t do this long ago, but I am done writing this: var val =...

Author: Matthew Manela Date: 07/24/2009

DRY and Unit Tests don’t mix well

When reading source code, I sometimes come across unappealing code(sometimes even my own). ...

Author: Matthew Manela Date: 07/12/2009

How to teach your girlfriend Hexadecimal?

It is an age old question: How do you teach your girlfriend hex? I encountered this problem when I...

Author: Matthew Manela Date: 05/06/2009

Snippet Designer in April’s MSDN Magazine!

I am excited to announce that the Snippet Designer is featured in the April issue of MSDN...

Author: Matthew Manela Date: 04/14/2009

A functional take on console program loop in F#

Often when learning a new technology I start with a simple console application in which the program...

Author: Matthew Manela Date: 04/14/2009

Synchronizing Scrollbars using JQuery

I just wrote this simple plugin for JQuery which lets you synchronize the scroll bars of any...

Author: Matthew Manela Date: 03/19/2009

Prime Factorization using Unfold in Haskell

I randomly yesterday started thinking about the unfoldr function in Haskell while working out at the...

Author: Matthew Manela Date: 03/17/2009

My xUnit.net Visual Studio Code Snippets

The xUnit .Net codeplex page lists one useful Visual Studio code snippet for creating a Fact. As you...

Author: Matthew Manela Date: 03/02/2009

Code Assumptions

My co-workers and I recently came across a piece of code which exposed some assumptions we had about...

Author: Matthew Manela Date: 02/01/2009

Snippet Designer 1.1 Released

I just released Snippet Designer 1.1.  This is not a major release but just some bug fixes and...

Author: Matthew Manela Date: 01/05/2009

Inline Regular Expression Options

I was using attributes from the System.ComponentModel.DataAnnotations   namespace for...

Author: Matthew Manela Date: 01/01/2009

Model Binder

When working with a multi-tier application I often find myself converting from one of the tiers...

Author: Matthew Manela Date: 12/16/2008

Updated JQuery ResizeComplete method

I made 2 slight changes and I think it works pretty well now. I now detect if the browser is Firefox...

Author: Matthew Manela Date: 12/02/2008

Rough draft of a new JQuery method

I have run into issues recently with the browsers' implementation of the resize event on the window....

Author: Matthew Manela Date: 11/24/2008

Parameterized State Transformer Monad in F#?

I have have been playing around with F# and I decided to create a state monad. This worked out...

Author: Matthew Manela Date: 11/05/2008

What annoys me when writing generic functions in Visual Studio...

When writing a generic function I start from left to right (the same way I write most things except...

Author: Matthew Manela Date: 10/14/2008

SQL CE 3.5 with LINQ to SQL Revisited

A few days ago I made a post about using SQL CE 3.5 with LINQ to SQL. I described a way to use...

Author: Matthew Manela Date: 09/26/2008

The Snippet Designer is Released!!!!

Some History The Snippet Designer was started as an intern project of mine during the Summer of...

Author: Matthew Manela Date: 09/22/2008

SQL CE 3.5 with LINQ to SQL

Using LINQ to SQL with SQL CE 3.5 can be a bit of a challenge. First off, the LINQ to SQL Visual...

Author: Matthew Manela Date: 09/09/2008

CollectionView.DeferRefresh() : My new best friend

Well, maybe not best friend but its a nice function.  When working with bound collections in...

Author: Matthew Manela Date: 08/28/2008

I started playing with F#...

I decided to do some Project Euler problems using F#.  So here is my first one, Problem #...

Author: Matthew Manela Date: 08/22/2008

Generic Insert and Update for LINQ To SQL

Quick code snippet time! The following are generic methods for inserting and updating a detached...

Author: Matthew Manela Date: 08/12/2008

Worst Case Scenario for QuickSort

Take a look at the following code: 1: var sw = new Stopwatch(); 2: sw.Start(); 3:...

Author: Matthew Manela Date: 08/04/2008

The two most important WPF Tools

I have been working a lot with WPF and I found the following two FREE tools to be extremely helpful....

Author: Matthew Manela Date: 08/01/2008

Foreach is Duck Typed!

I thought I know how the foreach construct worked under the covers. I figured the compiler would...

Author: Matthew Manela Date: 07/22/2008

Writing a Regular Expression parser in Haskell: Part 4

With the previous two modules in place we are now set up to use a DFA to match against a string.  In...

Author: Matthew Manela Date: 06/21/2008

Writing a Regular Expression parser in Haskell: Part 3

The third module in the simple regular expression parser is called: NFAtoDFA.  Which as you might...

Author: Matthew Manela Date: 06/10/2008

Writing a Regular Expression parser in Haskell: Part 2

The first module in my simple regular expression parse is called RegexToNFA.  This module exposes...

Author: Matthew Manela Date: 06/03/2008

<Previous Next>