Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Tvedt 7 posts 29 karma points
    Sep 18, 2013 @ 20:53
    Thomas Tvedt
    0

    Is it possible to create document types with code-first?

    I don't want to define my document types in Umbraco's backend, is this possible to do using code-first? I found two interesting projects:

    1. umbracodefirst: http://our.umbraco.org/projects/developer-tools/umbracodefirst

    2. http://usitebuilder.codeplex.com/

    It looks like uSiteBuilder is the newest one, should I go for this one? 

  • Thomas Tvedt 7 posts 29 karma points
    Sep 18, 2013 @ 20:54
    Thomas Tvedt
    0

    I also want to use MVC, and strongly-typed properties from my ducments types

  • Thomas Tvedt 7 posts 29 karma points
    Nov 26, 2013 @ 20:51
    Thomas Tvedt
    0

    Umbraco 7 looks nice :) But I still want to use MVC and code-first to define my document types.. Is this possible? Any advice? :)

  • Joseph 59 posts 140 karma points
    Dec 04, 2013 @ 22:06
    Joseph
    0

    I've used usitebuilder in several projects and have found it quite useful. Perhaps you could consider usitebuilder admin which sits on top of usitebuilder and allows more control over things (the vanilla usitebuilder syncs doc types every time the app restarts which may not be good for large sites).

    In terms of strongly-typed properties: you can probably get to where you want to go by using AutoMapper and umbraco core property editor converters.

    Good luck!

  • Brian 3 posts 83 karma points
    Mar 03, 2016 @ 13:04
    Brian
    0

    https://github.com/DanMannMann/UmbracoCodeFirst

    Sorry to dig up the dead I just thought for posterity this might be relevant.

Please Sign in or register to post replies

Write your reply to:

Draft