I'm starting a new project, and I am trying to decide on the right Models Builder mode to use. Some info: It's going to be a large website with some moderately complicated backend code. I need to keep document types updatable by non-Visual Studio users, so API mode is out. I want to get Intellisense for those who do use VS, though, and I want to keep the code unit testable, so PureLive mode is out too.
I like the idea of AppData mode, but does it require compilation in Visual Studio to work?
One thing I'm unsure about: is there any reason I should put the generated Models in source control? If not, Dll mode might be a good fit.
Help choosing a Models Builder mode?
Hi,
I'm starting a new project, and I am trying to decide on the right Models Builder mode to use. Some info: It's going to be a large website with some moderately complicated backend code. I need to keep document types updatable by non-Visual Studio users, so API mode is out. I want to get Intellisense for those who do use VS, though, and I want to keep the code unit testable, so PureLive mode is out too.
I like the idea of AppData mode, but does it require compilation in Visual Studio to work?
One thing I'm unsure about: is there any reason I should put the generated Models in source control? If not, Dll mode might be a good fit.
Any suggestions or opinions would be appreciated.
Thanks,
David
I use AppData mode, and yes you will need VS to compile them (and include them in the project)
I'd also recommend putting them in source control if using AppData mode too, otherwise the project won't build without them!
Hi David
If you are not going to change Models via code, Dll mode is totally ok, you just use this dll
/Alex
Thanks for the reply. So you cannot control model generation in DLL mode like you can in AppData mode?
If so, in what cases would you need to control model generation? I'm not sure if I need that capability or not.
Thanks,
David
Hi David,
we have multiple projects in our solution ( Core and UI ), therefore we use dll mode so we can reference to this in our other project.
Hope this helps.
/Michaël
Thanks, good to hear that someone with a similar setup is using DLL mode successfully.
David,
no problem! That's why this community is here for, to share and help each other!
/Michaël
is working on a reply...