Your search for POCO returned 2 results.
This is page 1 of 1
and create our own customer facing forms.
Using MVC we have a model that is effectively a POCO so we just wrote the glue that stuffs the POCO into a Contour record.
All you have to do is create a Contour form with field names that match your POCO and call the method with this signature (Full code later).
public void RegisterPocoInContour(Guid formGuid, int nodeId, string ip, object poco)
You’ll quickly realise that this technique doesn’t need to be limited to form submissions – you can stuff any old POCO into a Contour record allowing the end user to export it. A word of warning, this isn’t particularly performant and you wouldn’t want to do it several times within the context of a single request, not would you want to hammer it on a high
It seems like an age ago now, but in 2013 I wrote about mapping Umbraco content to POCO and presented on the state of Umbraco and Azure as I saw it at the time.
I also wrote an article called My three circles of Web CMS Nirvana (I was into diagrams involving circles at the time). This article explained why I wanted a runtime for Umbraco and is probably good background reading for this post. But what I haven't mentioned until now, is that I went away and built the runtime. In fact you are using...; }
In case you are wondering, we don't need Integer IDs or GUIDs, the relative URL is a perfectly good unique identifier.
The internals of mapping IContent to RuntimeContentModel are based around my article mapping Umbraco content to POCO (and I