19 March, 2009 (11:39) | .NET, C#, Codename+Oslo, DSLs, MGrammar, Programming | By: larsw
In the first installment of this series we took a look at the basic grammar for parsing the command line with MGrammar. In this part I’ll show you how we can load in a compiled version of the MGrammar and parse the input (i.e. the command line) to produce a valid MGraph that we in [...]
Comments: 2
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 [...]
Comments: -
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" />
[...]
Comments: -
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 it comes to WCF. [...]
Comments: 4
2 July, 2008 (20:35) | IoC, Programming, Unity, WCF | By: larsw
Some time ago I needed a way to wire up an IoC container in a WCF service I was creating at that time. Since I’ve used ObjectBuilder-based containers a lot in both Composite UI Application Block and Enterprise Library, I wanted to take a closer look at the Unity container and the 2.0 version of [...]
Comments: -
27 June, 2008 (19:57) | .NET, Agile, Community+Work, Consultancy, Introduction, Miles, Programming, SOA, WCF | By: larsw
Ok, I’ve bought some wordpress.com credits and pointed one of my domains, larswilhelmsen.com to larsw.wordpress.com. To break the no-blogging spell, I hope that starting fresh on a new site will help to get my fingers moving
Currently, I’m on paternity leave, and when I start working again, it will be for Miles, Norway as [...]
Comments: -