Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm used to developing with EPiServer and creating my models in different classes. That way the models will follow the solution when you move from a development enviroment to production. I'm currently using Umbraco version 8 and modelsbuilder with "dll" mode (which of course is good since models get strongly typed). It seems like I still have to manually create the models in each enviroment?
Is there a recommended way of handling this in Umbraco or do just have to bite the bullet and create the models manually in each enviroment (I don't want to move the whole database - only the models/dlls)?
I've gotten no replies on this one... Anyone?
With Umbraco the page types are stored in the database. You need to sync these somehow, either manually or by some sort of package. I highly recommend trying out uSync to do this. uSync will write definitions of page types, data types etc to file and can sync the changes from these files in another environment.
As for models builder, I would suggest either LiveAppData mode or API mode. That way the models are generated as code/.cs files that you include and compile in your project.
Thanks for the advice Magnus! I'll check that out...
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted