Posts
  • Matthew Manela's Blog

    First Post!

    • 1 Comments
    Welcome to my first blog post as a Microsoft employee. I work for a team who is truly focused on building a better community around Microsoft developer technologies and tools. I hope I can use this blog to spread information, tips and maybe a few funny...
  • Matthew Manela's Blog

    Modifying IL of an existing assembly

    • 1 Comments
    Any one who programs in .NET is well aware of Lutz Roeder's .NET Reflector . It is a tool which allows you to disassemble .NET assemblies in to IL, C#, Visual Basic and several other languages. This tool also supports many add-ins which add cool features...
  • Matthew Manela's Blog

    Covariance and Contravariance

    I just finished reading the series of ten blog posts by Eric Lippert about covariance and contravariance . These topics were new to me but after reading this blog series it all made sense. It finally explained to me why some things which I thought I should...
  • Matthew Manela's Blog

    Snippet Designer 1.2 Beta Release with Visual Studio 2010 Support

    Yesterday I released Snippet Designer 1.2 Beta. Codeplex Page: http://snippetdesigner.codeplex.com/ Visual Studio Gallery Page: http://visualstudiogallery.msdn.microsoft.com/en-us/B08B0375-139E-41D7-AF9B-FAEE50F68392 This release contains several...
  • Matthew Manela's Blog

    Visualizing LINQ

    • 1 Comments
    I ran across an awesome code sample written by Jon Skeet . He realized that many people may have difficulty understanding how the lazy evaluation in LINQ (and programming with iterator combinators in general) works. His program/code sample is able make...
  • Matthew Manela's Blog

    Powerful Visual Studio Add-In

    • 1 Comments
    Visual Studio doesn't seem to get much credit for the power of its extensibility model. When most people think about a IDE with powerful plug-ins they think of Eclipse, which granted, has some incredible plug-ins. However, Visual Studio's add-in model...
  • Matthew Manela's Blog

    Model Binder

    When working with a multi-tier application I often find myself converting from one of the tiers object models to my own similar (but often different) model.  I often write code that would set one by one each property from a web tier object to my...
  • Matthew Manela's Blog

    Lambda Expressions

    • 1 Comments
    With the release of C# 3.0 and Visual Basic 9, both languages added support for lambda expressions. Lambda expressions form the basis of lambda calculus which (this will seem a bit mathy) is a formal system which is used to explore mathematical and programmatic...
  • Matthew Manela's Blog

    Code Assumptions

    • 1 Comments
    My co-workers and I recently came across a piece of code which exposed some assumptions we had about the “correct” behavior of two functions; these assumptions turned out to be false.  The code dealt with determining if the IP of a  request...
  • Matthew Manela's Blog

    ArgumentNullException vs ArgumentException

    • 2 Comments
    Both ArgumentNullException and ArgumentException have a constructor which takes two strings. One is the name of the parameter (or argument) in question and the other is a string describing the exception. The funny/odd/interesting thing about them is that...
  • Matthew Manela's Blog

    Things I have learnt about Seattle...

    • 1 Comments
    At the beginning of August I moved out to Seattle from New York and since then I have learned some things about this city: People in Seattle dislike Starbucks but are inexorably drawn to constantly go there. Everyone complains how Starbucks sold out and...
  • Matthew Manela's Blog

    Introducing MSDN Code Gallery

    • 1 Comments
    Today, the new site MSDN Code Gallery has launched.  This is the best place to find and share samples, tools and articles about development and programming.  Code Gallery is already being used by many teams here at Microsoft to post cool tools and samples...
  • Matthew Manela's Blog

    Master Boot Record Fiasco

    The Error I restarted my computer for the first time in a couple weeks and it would not boot. I was faced with a screen which said: Grub Loading Stage 1.5 Error 22 A nice helpful error. Now I was faced with a problem and I needed to figure out how to...
  • Matthew Manela's Blog

    DiffPlex 1.1 Released

    I released a small update to DiffPlex that helps improve performance for both the release and debug builds.  I now also package the release build in the download zip file instead of the debug.  The release build shows a significant performance...
  • Matthew Manela's Blog

    My xUnit.net Visual Studio Code Snippets

    • 1 Comments
    The xUnit .Net codeplex page lists one useful Visual Studio code snippet for creating a Fact. As you can tell I am fairly fond of code snippets so I created a few more which I use when writing xUnit.net facts. These are one line snippets that I find very...
  • Matthew Manela's Blog

    Foreach is Duck Typed!

    • 5 Comments
    I thought I know how the foreach construct worked under the covers. I figured the compiler would check if the type being iterated over implement IEnumerable or IEnumerator. And if so it will call MoveNext and Current to loop over the elements. But then...
  • Matthew Manela's Blog

    A StructureMap Gotcha

    I started converting one of the projects I work on to use the StructureMap DI/IOC framework. The previous framework I used was a super simple one that was built in house. When switching to StructureMap the plethora of options was a concern at first but...
  • Matthew Manela's Blog

    Snippet Designer in April’s MSDN Magazine!

    • 1 Comments
    I am excited to announce that the Snippet Designer is featured in the April issue of MSDN Magazine.                    It is featured in the Toolbox column where they highlight useful tools and blogs....
  • Matthew Manela's Blog

    Floating Point, Why are you so buoyant?

    • 3 Comments
    Floating point precision can often be confusing to people. The following code block should illustrate some important things to keep in mind about floating point numbers. In this block I am attempting to get the value 64,000,000 in two different ways....
  • Matthew Manela's Blog

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

    • 6 Comments
    When writing a generic function I start from left to right (the same way I write most things except when I took Yiddish in college).  For example, Lets say I am writing a simple generic method which return the first element of a generic list. I want...
  • Matthew Manela's Blog

    I was on DotNetRocks!!!

    • 2 Comments
    A couple week ago I had an interview with the DotNetRocks folks.  In this interview I discussed the MSDN Code Gallery and I also discuss ed my time as an intern at Microsoft.  It was really fun recording this and my interviewers Carl and Richard...
  • Matthew Manela's Blog

    Useful LINQ Method- GetMemberTypeChain

    • 1 Comments
    Recently, I have been working on a custom LINQ provider in C#. In a later post (when I have more time to write) I will go in depth into what I am worked on and what have I learned about writing a LINQ provider. But for now I will present a simple function...
  • Matthew Manela's Blog

    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 be able to visually explore the history of the whole repository or of a single file.  For this I find TortoiseHg’s repository … Continue reading...
  • Matthew Manela's Blog

    A simple JavaScript stubbing function

    Stop! If you are looking for a full featured JavaScript stubbing/mocking library you will be thoroughly disappointed by this post. There are many really good and full featured frameworks for this such as QMock , JSMock and my current personal …...
  • Matthew Manela's Blog

    Windows Media Player Problem AND Solution

    • 1 Comments
    I am the proud owner of a iriver clix portable media player. I have had it for about a year now and I have had no complaints. It works beautifully. When I first got it I had some concerns about using Windows Media Player. The clix is made to work best...
Page 3 of 6 (127 items) 12345»