What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

March 2011 Entries

QuickTip: Selecting Children from a Parent Item in Linq
I’m posting this here because I keep forgetting the syntax, and thought others might benefit as well. Given : public class ParentItem { IEnumerable<ChildItem> Children } Selecting all the childitem instances from an IEnumerable<ParentItem>: var allChildren = ParentItems.SelectMany(pare... Selecting matching childItem instances from an IEnumerable<ParentItem>: var selectedChildren = ParentItems.SelectMany(pare... ......

Posted On Tuesday, March 29, 2011 3:47 PM | Comments (1) | Filed Under [ Visual Studio ]

Words of Wisdom

Culture beats Strategy every time.

Posted On Saturday, March 19, 2011 10:59 AM | Comments (0) |

How to set x509 Certificate private key access rights for AppPoolIdentity
If your website uses the AppPoolIdentity and requires access to the private key of an x509Certficate, you’ll need to grant the read permissions to the iis application pool. To grant permissions to the AppPoolIdentity: Run Certificates.MMC (or Start->run->mmc.exe, Add Certificate Snap-In for LocalMachine) Select the certificate (Personal node on the certificate tree) , right click and Manage Permissions. Add a new user to the permissions list. Enter "IIS AppPool\AppPoolName" on the local machine". ......

Posted On Tuesday, March 15, 2011 12:09 PM | Comments (2) |

Powered by: