Damon Armstrong

Damon Armstrong is a consultant with SystemwarePS in Dallas, Texas. He is also a blogger and author of Pro ASP.NET 2.0 Website Programming and SharePoint 2013 Essentials for Developers. He specializes in the Microsoft stack with a focus on web technologies like MVC, ASP.NET, JavaScript, and SharePoint. When not staying up all night coding, he can be found watching a bunch of kids, studying Biblical topics, playing golf, or recovering from staying up all night coding.

Follow Damon Armstrong via

17 July 2009
17 July 2009

Beating up my Code with ANTS Performance Profiler

0
28
Ty Anderson assumed that his cryptographic library was perfect until he tried it out with ANTS Performance Profiler. Within twenty minutes, eight and half of which were spent watching a video overview of ANTS Performance Profiler, he was able to make a ten percent performance improvement. Although his ego was slightly bruised by the experience , the fact that his code was even better soon restored his confidence.… Read more
0
28
20 December 2007
20 December 2007

Disabling an ASP.NET Button when Clicked

0
7
I was answering a question in the ASP.NET forums on Simple-Talk.com about how to avoid the issue of users submitting multiple page requests when they click on buttons.  My first inclination was hey, just disable the button after they click it and everything will be just fine.  So I fired up Visual Studio and threw the … Read more
0
7
04 September 2007
04 September 2007

WPF: WindowsFormsHost Control Error

0
1
I had the code base for my first WPF application ready to go, so I compiled a release version of software and tried to run it from the .exe instead of directly from Visual Studio.  I was promptly greeted with the following error: The tag ‘WindowsFormsHost’ does not exist in XML namespace ‘http://schemas.microsoft.com/winfx/2006/xaml/presentation’. It ran flawlessly … Read more
0
1
24 August 2007
24 August 2007

Simple Code Performance Testing

0
0
After posting Performance: Caching vs. Reading from an In-Memory XML Document, there have been some questions about how I actually do the performance testing.  My approach to performance testing is really simple… I just write some code, run that code in a big for loop, and time how long it takes to run through all … Read more
0
0
22 August 2007
22 August 2007

Performance: Caching vs. Reading from an In-Memory XML Document

0
0
I’ve been working with a number of XML documents recently.  Basically I’m trying to expose configuration values stored in XML configuration files in an object-oriented structure.  I’m using an in-memory XML document and just referencing values as needed from that document.  The XML reading does not need to be super-high performance because it does not … Read more
0
0
16 August 2007
16 August 2007

ADFS – Cookie Error

0
2
I’ve been knee deep in Active Directory Federation Services for the past three months now, and when helping one our clients deploy a single-sign-on (SSO) application, we ran into a nasty error: The request has been rejected because it appears to be a duplicate of a request from this same client browser session within the … Read more
0
2
11 April 2007
11 April 2007

VS SDK Error Message: CTC : fatal error CTC2013: Can’t start preprocessor (2)

0
0
After watching some of the demo videos of the latest Visual Studio SDK, I was excited to get started and try out my own add-in.  I installed the SDK, fired up Visual Studio, created an integration package, compiled, and got a nasty error: CTC : fatal error CTC2013: Can’t start preprocessor (2) What does this mean?  Apparently, … Read more
0
0
23 March 2007
23 March 2007

SharePoint Permission Names

0
0
SharePoint 2007 has a new control called the SPSecurityTrimmedControl.  It’s a container control that allows you to hide or display a section of your page depending on whether or not the currently logged-in user has the appropriate permissions.  To set the permissions, however, you need to know what SharePoint calls the permissions.  Took a little … Read more
0
0
16 March 2007
16 March 2007

Exciting New .NET Language Features

0
0
If you haven’t already, check out Scott Guthrie’s blog about Extension Methods that will be available when the next version of the .NET framework.  It’s always cool when they add a completely new feature because it opens up more options for really elegant solutions.  And it also opens up new ways for people to really … Read more
0
0
23 December 2006
23 December 2006

Pro CSS Techniques

0
0
As a developer, I’ve had to endure my fair share of designers lecturing on the virtues of Cascading Style Sheets (CSS) and maintaining a strict divide between content elements and their visual layout.  It’s a noble pursuit, but for a developer with little design experience the task of getting a page to look just the … Read more
0
0
22 December 2006
22 December 2006

Saving the Telerik RadSplitter/RadPane State

0
0
Telerik makes UI controls for ASP.NET (and they are getting in Windows Forms controls too apparently) and they’ve done a great job.   But, everything has it’s little quirks.  I was working with the RadSplitter, a control that allows you to make collapsable / resizable panels on your webpage, when I ran across a little problem: persisting the … Read more
0
0
04 December 2006
04 December 2006

Don’t let management architect a solution…

0
0
I’ve seen many cases where business people and technical people collide.  Part of building an effective business requires understanding and respecting the various departments in an organization and their individual areas of expertise.  But too often, cross-departmental decisions are driven by the wrong people.  The results are less than spectacular, though not unexpected considering the … Read more
0
0