Browse by Tags

All Tags » .NET (RSS)

First Managed Extensibility Framework (MEF) bits released

Today was a big day for my team because we released the bits for the first CTP of the Managed Extensibility Framework (MEF). MEF is a framework that allows developers to declare what they need (i.e. Imports) and what they provide (i.e. Exports) and then...
Posted by puzzlehacker | with no comments
Filed under: , ,

Opening files from the VS "Quick find combo"

Ctrl+/ is quickly becoming one of my favorite and most used hotkey in Visual Studio. Pressing it will jump you to the "Quick find Combo" with a ">" already type in for you (which means interpret the text as a VS command). If you are like me you hate...
Posted by puzzlehacker | 4 comment(s)
Filed under: ,

Job openings on the .NET Framework Core Team

We have been incubating ideas about building a simple extensibility framework for some time. Now, as plans for the next version of the .NET Framework crystallize a bit more, we decided to productize the project. As a result, we have opened a job position...
Posted by puzzlehacker | with no comments
Filed under: ,

2008 Scripting Games - My solutions

Here are my solutions to the 2008 Scripting Games scripting competition. This is a rather large post but I decided one post would be better than posting them all individually, this way they will all be in one place when I want to find them later. I had...

2008 Scripting Games

It’s the third annual Scripting Games , the biggest scripting competition of the year! As a matter of fact, it’s most likely the biggest scripting competition ever . (The fact that it may be the only scripting competition is beside the point.) The games...
Posted by puzzlehacker | 2 comment(s)
Filed under: , ,

Issues with the XmlSerializer in medium trust environments

In my last post I briefly mentioned that CodeHTMLer had issues running in a medium trust environment. The simple web application front end I created kept failing before it ever got started. It keep hitting a SecurityException nested in an InvalidOperationException...

Fun with C# functions

Dustin Campbell has an interesting series on C# functions on his Did it with .NET blog. Fibonacci Numbers, Caching and Closures What's in a Closure? Using Automatic Memoization A Higher Calling The Art of Currying Building Functions from Functions, part...
Posted by puzzlehacker | with no comments
Filed under: ,

Failure creating an Outlook application object on Vista

While creating a Outlook application object from another process in C# like: outlook = new Microsoft.Office.Interop.Outlook.Application(); or powershell PS > $outlook = new-object -com Outlook.Application or straight up COM via CoCreateInstance on...
Posted by puzzlehacker | 5 comment(s)
Filed under: , ,

Why does my Outlook event seem to stop working?

Imagine we have some code in an Outlook addin that looks similar to code below. Does anyone see anything wrong with it? It simply places a button on the menu bar and shows a message box when the button is clicked. The code works for sometime but then...
Posted by puzzlehacker | 5 comment(s)
Filed under: , ,

Powershell script to find strings and highlight them in the output

After reading about Brad 's find script I starting thinking about how cool it would be if I could highlight the search pattern in the output. So I wrote my own custom Find-String script to highlight the results. Find-String.ps1 # Find-String.ps1 # Wrapper...
Posted by puzzlehacker | 2 comment(s)
Filed under: , ,
More Posts Next page »