Lately I’ve been talking a lot about the Live Framework and showing some of its typical uses for Mesh-enabled web apps but I haven’t really dug into the code as much as I’d like to. Katrien De Graeve has written a great blog entry Live Framework – storing data in a Mesh-enabled Silverlight web application in 4 steps that shops just how ridiculously simple it is using C#.
In its simplest form its nothing more than this:
DataEntry partyEntry = new DataEntry();
partyEntry.Resource.Type = "Party_DataEntry";
partyEntry.Resource.Title = textPartyName.Text;
partyFeed.DataEntries.Add(ref partyEntry);
partyEntries.Add(partyEntry.Resource);
Well worth a 5-minute read.
-Jamie