CodeFirst - creating document types, controllers and backend stuffs
Hi,
I am very new to the comunity and I am looking for good documentaiton about how to user CodeFirst approach - creating firstly document types in the VS project, how to create controller and map it to a document type? These really basic things. I just want from the very begining to start to work with some of my libraries.
I don't know much about code first in Umbraco however I know that those using it seem to be using the uSiteBuilder project, which is hosted here on codeplex http://usitebuilder.codeplex.com/
But I'm not sure if it's compatible with v7 or not though.
Hi all, I'd be interested to know what the current best practice is for code first development with Umbraco. For example, creating document types with v7.
I think Code First in Umbraco is more or less dead.
My package (CodeGen mentioned over) will lose support for it. But it does give you strongly typed models. It's just that you make them in the Umbraco UI.
You can also use Ditto to work with more use-case oriented POCOs that you do "code first"ish. Although you won't generate anything in Umbraco with that one either. You'll have to map it up.
CodeFirst - creating document types, controllers and backend stuffs
Hi,
I am very new to the comunity and I am looking for good documentaiton about how to user CodeFirst approach - creating firstly document types in the VS project, how to create controller and map it to a document type? These really basic things.
I just want from the very begining to start to work with some of my libraries.
Very Thanks,
Boris
Hi Boris
I don't know much about code first in Umbraco however I know that those using it seem to be using the uSiteBuilder project, which is hosted here on codeplex http://usitebuilder.codeplex.com/
But I'm not sure if it's compatible with v7 or not though.
Hope this helps.
/Jan
I think that Inception is the current favourite CodeFirst package for v7
I would also recommend you read this blog post
There is also a uHangout video talking about Inception here
There's also http://our.umbraco.org/projects/developer-tools/umbraco-codegen
Might be best to compile it from github. I haven't released in a while.
https://github.com/lars-erik/Umbraco.CodeGen
Hi all, I'd be interested to know what the current best practice is for code first development with Umbraco. For example, creating document types with v7.
I think Code First in Umbraco is more or less dead.
My package (CodeGen mentioned over) will lose support for it. But it does give you strongly typed models. It's just that you make them in the Umbraco UI.
You can also use Ditto to work with more use-case oriented POCOs that you do "code first"ish. Although you won't generate anything in Umbraco with that one either. You'll have to map it up.
is working on a reply...