Lars Wilhelmsen

Microsoft Connected Systems MVP

Skip to: Content | Sidebar | Footer

Month: December, 2008

Configurable PrincipalPermission attribute

17 December, 2008 (13:50) | .NET, Programming, Security | By: larsw

I while ago, a question came up in the WCF Forum about configuring the role and/or user name properties of the PrincipalPermission attribute. As I answered, it is possible to create a custom version of the attribute (deriving from the CodeAccessSecurityAttribute, since the PrincipalPermission attribute is sealed) and pull the property values from the {web|app}.config [...]

LINQ to XML: XPathSelectElement Annoyance

12 December, 2008 (14:08) | .NET, Annoyance, Bug?, LINQ to XML, Programming, XPath | By: larsw

It may be me – since I’m no XPath (or XSLT) pro, but the following is in my book a bug – or at least an annoyance category 3: Given the following XML document loaded into an XDocument: <?xml version="1.0" encoding="utf-8"?> <Elements> <Element Id="1" /> <Element Id="2" /> <Element Id="3" /> <Element Id="4" /> <Element [...]

Codename “Velocity” WF/WCF Persistence Provider

11 December, 2008 (20:24) | .NET, Persistence Provider, Programming, WCF, WF | By: larsw

So, it’s been a bit quiet here lately. The natural cause of it is (in no particular order): A lot of work Spending quality time with my son Hacking on different kinds of technology bits (mainly pieces released at the PDC 2008) I’ve also tried to get a clear picture of my “blind spots” when [...]

Zune Marketplace: Playlists – a Word of Warning

5 December, 2008 (19:29) | Crap, Playlists, Zune, Zune+Markedplace | By: larsw

I’m still very satisfied with the 120GB black Zune that I bought during my trip to the Microsoft Professional Developers Conference 2008 in the end of October. I found a way to use my own Norwegian credit card with the combination of the regional settings in Windows set to “USA” and a borrowed, real address [...]