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... ......
Culture beats Strategy every time.
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". ......