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

21 February 2012
21 February 2012

SharePoint Scenario Framework

0
0
I’ve worked with SharePoint for some time now, and I like to think that I know all there is to know about it.  Deep down I know that’s not true, but it’s a fun delusion.  However, I found out yesterday that there is a mechanism in SharePoint called the Scenario Framework that has been around … Read more
0
0
07 February 2012
07 February 2012

Getting the URL to the Content Type Hub Programmatically in SharePoint 2010

0
0
Many organizations use the content-type hub to manage content-types in their SharePoint 2010 environment.  As a developer in these types of organizations, you may one day find yourself in need of getting the URL of the content type hub programmatically.  Here is a quick snippet that demonstrates how to do it fairly painlessly: public static … Read more
0
0
17 January 2012
17 January 2012

Managing ItemUpdating and ItemUpdated Events Firing Twice in a SharePoint Item Event Receiver

0
56
Developing a Sharepoint application would have all the fun of a video game, if only you had infinite lives. Dangers lurk hidden out there which, if you run into them, can be a blow to your project and waste a great deal of time. Damon gives just one example of a poisoned dagger in the game of Sharepoint Development: The Item Event Receiver.… Read more
0
56
23 March 2011
23 March 2011

SQL – Joining to a Single Row

0
7
If you have a one-to-many relationship, and you are performing a join on the tables but you only want one record from the “many” portion of the relationship, then this is a very helpful link: http://stackoverflow.com/questions/2281551/tsql-left-join-and-only-last-row-from-right The outer apply appears to be very useful for joining a single row in one table to a very … Read more
0
7
17 January 2011
17 January 2011

Obscure SPUtility.SendMail Behavior When Manually Passing in Mail Headers

0
0
There are two ways to send mail in SharePoint: you can either use the mail components from the System.Net namespace, or you can send email using SharePoint’s SPUtility.SendMail method.  One of the benefits of the SPUtility.SendMail method is that it uses the mail configuration from SharePoint, so you can manage settings in Central Administration instead … Read more
0
0
19 December 2010
19 December 2010

Resolving an App-Relative URL without a Page Object Reference

0
0
If you’ve worked with ASP.NET before then you’ve almost certainly seen an application-relative URL like ~/SomeFolder/SomePage.aspx.  The tilde at the beginning is a stand in for the application path, and it can easily be resolved using the Page object’s ResolveUrl method: string url = Page.ResolveUrl(“~/SomeFolder/SomePage.aspx”); There are times, however, when you don’t have a page … Read more
0
0