views:

156

answers:

1

I'm looking to create a service (based on .NET Fx 3.5 or 4.0) that exposes data via Atom and enables AtomPub (so that I can update using Windows Live Writer).

There looks to be two options:

  • Use ADO.NET Data Services. From what I can tell this is the easiest to get working, but requires EF (I'm using LinqToSQL - although I know there is a workaround) and mapping the types seems a little inflexible. e.g. I still don't know how to remove elements from the feed.

  • Do something custom with a WCF Syndication Feed. This looks like the most flexible approach, but is of course custom, and will require more coding.

I'm interested in opinions from people that have implemented AtomPub in their own applications. Which approach did you use? (or did you do something different?)

A: 

Have you considered using BlogSvc:

http://www.hanselman.com/blog/CommentView.aspx?guid=75291315-f7aa-418a-b18d-2c10defa8bc1

Since the project uses Atom and AtomPub he can work against it using Windows Live Writer. You can learn all about how WLW likes Atom by reading the series of posts the most excellent Joe Cheng of the Live Writer team did on how this is all implemented.

Shiraz Bhaiji