Category Archives: .NET

Iterate through enum values

A quick example of how to iterate through the values in an enum… enum myEnum { one, two, three, four, five, }; foreach (int i in Enum.GetValues(typeof(myEnum ))) { myEnum myItem = (myEnum )Enum.ToObject(typeof(myEnum ), i); System.Diagnostics.Debug.WriteLine(myItem.ToString()); }

Posted in .NET, C# Snippets, General, Software | Comments Off

A List of LiveWriter Plugins

As well as my own humble effort, there are quite a few others out there writing LiveWriter plugins. A good place to start looking would be here or here.

Posted in .NET, General, LiveWriter Plugins | Comments Off

So what am I up to now?

Well, about 5 weeks ago I joined Avanade as a solution Developer, and since joining I’ve had all kinds of things going on – not least of which was a trip to Seattle for an orientation / training week. It … Continue reading

Posted in .NET, Avanade | Leave a comment

Determine if an assembly is a debug or release build

*This code originally came from another blog, although it was written in VB over there. It has lost some elegance in the translation, but I needed a very quick solution this afternoon, and I needed it in C#, so here … Continue reading

Posted in .NET, C# Snippets, Software | 1 Comment

Remote Debugging Issues

My colleague, John, was having problems connecting the remote debugger to our SharePoint stage server. When connecting he got an “Access Denied” error. After spending much of the afternoon Googling for a solution, he came up with the following fix. … Continue reading

Posted in .NET, Remote Debugging, SharePoint, Visual Studio | Comments Off