Announcing LinqToRdf v0.6

Posted on 4/05/2008.

I’ve just uploaded LinqToRdf v0.6 with improved designer support for Visual Studio .NET 2008.
The release includes the following high-points:

LinqToRdf Designer and VS.NET 2008 extension completely rewritten
LinqToRdf Installer now includes the installer of LinqToRdf Designer (at no extra cost)
Project and Item templates now installed as part of LinqToRdf Designer
Generated object [...]

Read Full Post | Make a Comment ( None so far )

Functional Programming in C# - Higher-Order Functions

Posted on 16/04/2008.

This is the second in a series on the basics of functional programming using C#. My topic today is one I touched on last time, when I described the rights and privileges of a function as a first class citizen. I’m going to explore Higher-Order Functions this time. Higher-Order Functions are functions that themselves take or return functions. Meta-functions, if you like.

Read Full Post | Make a Comment ( 8 so far )

Functional programming - Is it worth your time?

Posted on 9/04/2008.

Functional Programming is probably simpler than you think. It’s based on the idea that there is often very little distinction between programs an data. This post explores the basic techniques of functional programming and demonstrates their use in C#.

Read Full Post | Make a Comment ( 10 so far )

Announcing LinqToRdf 0.3 and LinqToRdf Designer 0.3

Posted on 25/10/2007.

The third release of LinqToRdf has been uploaded to GoogleCode. Go to the project web site for links to the latest release.
LinqToRdf Changes:
- support for SPARQL type casting
- numerous bug fixes
- better support for identity projections
- more SPARQL relational operators
- latest versions of SemWeb & SPARQL Engine, incorporating recent bug
fixes and enhancements of each of [...]

Read Full Post | Make a Comment ( 3 so far )

Continue if not null operator? Yes please!

Posted on 11/09/2007.

Olmo made a very worthwhile suggestion on the LINQ forums recently. His suggestion was for a new operator to be added to the C# language to allow us to do away with the following kind of pesky construct:

string x;
if(a != null && a.Address != null && a.Address.FirstLine != null)
x = a.Address.FirstLine;

instead [...]

Read Full Post | Make a Comment ( 9 so far )

LinqToRdf now works on the Visual Studio 2008 Beta 2

Posted on 25/08/2007.

I should have brought the code up to date weeks back - but other things got in the way. Still - all the unit tests are in the green.  And the code has been minimally converted over to the new .NET 3.5 framework. I say ‘minimally’ because with the introduction of beta 2 there is [...]

Read Full Post | Make a Comment ( 1 so far )

Dynamic Strongly-Typed Configuration in C#

Posted on 29/06/2007.

I thought it was worth describing this configuration solution, since it was so neat, and easy, and had all of the benefits of text based configuration and strongly typed inline configuration.

Read Full Post | Make a Comment ( 2 so far )

Using Mock Objects When Testing LINQ Code

Posted on 26/06/2007.

I was wondering the other day whether LINQ could be used with NMock easily. One problem with testing code that has not been written to work with unit tests is that if you test business logic, you often end up making multiple round-trips to the database for each test run. With a very large test [...]

Read Full Post | Make a Comment ( 7 so far )

GroupJoins in LINQ

Posted on 20/06/2007.

OWL defines two types of property: DatatypeProperty and ObjectProperty. An object property links instances from two Classes, just like a reference in .NET between two objects. In OWL you define it like this:
<owl:ObjectProperty rdf:ID=”isOnAlbum”>   <rdfs:domain rdf:resource=”#Track”/>  <rdfs:range rdf:resource=”#Album”/> </owl:ObjectProperty>
A DatatypeProperty is similar to a .NET property that stores some kind of primitive type like [...]

Read Full Post | Make a Comment ( None so far )

LinqToRdf - Designing a Query Provider

Posted on 5/06/2007.

When I started implementing the SPARQL support in LINQ to RDF, I decided that I needed to implement as much of the standard query operators as possible. SPARQL is a very rich query language that bears a passing syntactical resemblance to SQL. It didn’t seem unreasonable to expect most of the operators of LINQ to [...]

Read Full Post | Make a Comment ( 5 so far )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...