[ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types
I tend to use LINQ for just about everything I can. Many times this involves populating ASP.NET GridViews from code with anonymous types from LINQ. For example: var linqQuery = from p in context.Table...
View Article[SharePoint 2010] Specifying Which Server a Custom Timer Job Will Run On
By default timer jobs in SharePoint are scheduled for all servers in a SharePoint farm and whichever server picks up the job first is the one that runs it. There may be times when creating a custom...
View Article[PowerShell] Write a Custom PowerShell Cmdlet in C#
Particularly with SharePoint 2010, I have become a huge fan of Microsoft PowerShell. In addition to writing complex PowerShell scripts (.ps1 files), I have found it very useful to write my own C#-based...
View Article[PowerShell] Using Common Verbs for Custom PowerShell Cmdlets in C#
In my previous post, [PowerShell] Write a Custom PowerShell Cmdlet in C#, I mentioned that the commond verbs built-in to PowerShell should be used whenever possible. using System; using...
View Article[PowerShell] How To Debug a Custom C# PowerShell Cmdlet
In my previous couple of posts I have been discussing how to write a custom PowerShell Cmdlet in C# ([PowerShell] Write a Custom PowerShell Cmdlet in C# and [PowerShell] Using Common Verbs for Custom...
View Article[SharePoint 2013] Adding Links to the Suite Bar (Newsfeed, SkyDrive, Sites)...
SharePoint 2013 features a new set of links called the Suite Bar Links that are displayed in the top right corner of every SharePoint page. By default these links include “Newsfeed”, “SkyDrive”, and...
View Article[SharePoint 2010] Updates are currently disallowed on GET requests. To allow...
I was working on a WCF web service that is hosted by SharePoint 2010 that provisions a users My Site and I kept getting this error message when trying to run the service: Updates are currently...
View Article[SharePoint 2010] JavaScript Errors in sp.ui.rte.js and sp.ui.rte.debug.js
In SharePoint 2010, there is a bug in the SP.UI.RTE.js file (and it’s debug version) that causes a JavaScript error in a few different situations. For myself, it was occurring when using the...
View Article[SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation
Update: I have packaged this solution up in a SharePoint solution. You can get the packaged solution and the source code here: [SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation Part 2....
View Article[SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation Part 2
Since posting my initial [SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation article, I have had a few requests for a packaged solution. Here is a complete packaged solution to restore...
View Article[Guice | Java] Using Guice 4.0 Multibinder with @Provides and...
About Guice Guice is a dependency injection framework for Java. For more information, see https://github.com/google/guice. Introduction Prior to the 4.0 release of Guice, creating a Set or Map of...
View Article[SharePoint 2010] Specifying Which Server a Custom Timer Job Will Run On
By default timer jobs in SharePoint are scheduled for all servers in a SharePoint farm and whichever server picks up the job first is the one that runs it. There may be times when creating a custom...
View Article[PowerShell] Write a Custom PowerShell Cmdlet in C#
Particularly with SharePoint 2010, I have become a huge fan of Microsoft PowerShell. In addition to writing complex PowerShell scripts (.ps1 files), I have found it very useful to write my own C#-based...
View Article[PowerShell] Using Common Verbs for Custom PowerShell Cmdlets in C#
In my previous post, [PowerShell] Write a Custom PowerShell Cmdlet in C#, I mentioned that the commond verbs built-in to PowerShell should be used whenever possible. [csharp]using System; using...
View Article[PowerShell] How To Debug a Custom C# PowerShell Cmdlet
In my previous couple of posts I have been discussing how to write a custom PowerShell Cmdlet in C# ([PowerShell] Write a Custom PowerShell Cmdlet in C# and [PowerShell] Using Common Verbs for Custom...
View Article[SharePoint 2013] Adding Links to the Suite Bar (Newsfeed, SkyDrive, Sites)...
SharePoint 2013 features a new set of links called the Suite Bar Links that are displayed in the top right corner of every SharePoint page. By default these links include “Newsfeed”, “SkyDrive”, and...
View Article[SharePoint 2010] Updates are currently disallowed on GET requests. To allow...
I was working on a WCF web service that is hosted by SharePoint 2010 that provisions a users My Site and I kept getting this error message when trying to run the service: Updates are currently...
View Article[SharePoint 2010] JavaScript Errors in sp.ui.rte.js and sp.ui.rte.debug.js
In SharePoint 2010, there is a bug in the SP.UI.RTE.js file (and it’s debug version) that causes a JavaScript error in a few different situations. For myself, it was occurring when using the...
View Article[SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation
Update: I have packaged this solution up in a SharePoint solution. You can get the packaged solution and the source code here: [SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation Part 2....
View Article[SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation Part 2
Since posting my initial [SharePoint 2013] Restore the Breadcrumb (Navigate Up) Navigation article, I have had a few requests for a packaged solution. Here is a complete packaged solution to restore...
View Article