Tag Archives: C#

BugAid is now OzCode and improved

Back in September 2012 I wrote an article BugAid – C# Visual Studio Debugging made easier . BugAid’s co-founder Omer Reviv has joined forces with CodeValue to produce OzCode.  Base product wise it does everything BugAid did before (read the … Continue reading

Posted in Debug | Tagged , | Comments Off on BugAid is now OzCode and improved

Battle of the INotifyPropertyChanged techniques

Recently at a conference I was given the opportunity to talk about Aspect Orientated programming with PostSharp.  In my demo I showed off the difference between creating an INotifyPropertyChanged class manually, using boilerplate code generated by Resharper, and using smart … Continue reading

Posted in C#, PostSharp | Tagged , , | 1 Comment

C# Data Structures – ArrayList

In the last topic we talked about the Array.  It was mentioned that an Array was a fixed size and fixed typed.  The ArrayList is classified as a dynamic array. It implements the IList interface which simplifies add, insert, and … Continue reading

Posted in C# | Tagged , | Comments Off on C# Data Structures – ArrayList

C# Data Structures – Array

The Array is one of the simplest and most memory efficient of the data structures.  An array is a fixed list of items.  These items can be of any type and 99.9% of the time are the same type of … Continue reading

Posted in C# | Tagged , | 1 Comment

C# Data Structures – Queue

Continuing on from my article about Stacks we are going to look at the Queue Data Structure.  Queue is similar to the Stack with one difference it follows First in First out.  By default the initial capacity of a queue … Continue reading

Posted in C# | Tagged , | Comments Off on C# Data Structures – Queue

C# Data Structures – Stack

So a while ago I was in an accounting class learning about inventory management utilizing the First in First out (FIFO) and Last in First out (LIFO).   Since I think about things in ones and zeros I related them to … Continue reading

Posted in C# | Tagged , | 1 Comment

Get method name and calling method name in C#

There are times when you need to trace the method call order of your application.   In the System.Diagnostics namespace there is StackTrace.  StackTrace is a collection of StackFrames which provides information about the method calls for the stack call on … Continue reading

Posted in C# | Tagged | Comments Off on Get method name and calling method name in C#

Health Monitoring with ASP.NET MVC

ASP.NET Health Monitoring has been around for a very long time (.net 2.0).  I personally think it is a feature that has been put on the back burner and forgotten about by most.  Health Monitoring was created to help evaluate … Continue reading

Posted in Development, MVC, Web | Tagged , , | 2 Comments

BugAid–C# Visual Studio Debugging made easier

On September 8th 2012 I gave a presentation on BugAid, an exciting extension/tool for Visual Studio.  BugAid is a C# debugging helper for Visual Studio.  I personally have been using it for about a year on Visual Studio 2010 and … Continue reading

Posted in Debug, Visual Studio | Tagged , | 3 Comments

using server.mappath() in an generic handler (.ashx)

Working on a project over the weekend that used a generic handler for some AJAX calls.  In one of the calls I need to map to a local file to great a T4 template file.

Posted in Web | Tagged , | Comments Off on using server.mappath() in an generic handler (.ashx)