You can just right click and create the folder called 'Models'
Essentially when you create a new project in Visual Studio to use with Umbraco, you create an empty template, but you have the option to tick a box to add folders and core references,
if you check the MVC box it will create the folders that the conventions of MVC suggest you use, eg a folder for:
Models
Views
Controllers
but it is completely ok if you are up and running just to create these folders manually...
If you are inside an Umbraco project, the models folder is not included in the project be default, you would need to "show all files" in the toolbar about the solution in the solution explorer to see the models folder.
Developer - Form question - Surface controller
Hi
I am following tutorials in Umbraco.TV.
In the Developer - Surface Controller - Creating the model video
At 35 secs in the tutor says in Visual Studio to go to the list on the right panel and right click on the Model folder....
I cannot see a folder called Model - I have others like Media, obj,scripts, Views...... but no model.
I am in Visual Studio 2015 Community edition and the video is using a previous version.
Anybody got any ideas to help me?
Thanks Graham
Hi Graham
You can just right click and create the folder called 'Models'
Essentially when you create a new project in Visual Studio to use with Umbraco, you create an empty template, but you have the option to tick a box to add folders and core references,
if you check the MVC box it will create the folders that the conventions of MVC suggest you use, eg a folder for: Models Views Controllers
but it is completely ok if you are up and running just to create these folders manually...
If you are inside an Umbraco project, the models folder is not included in the project be default, you would need to "show all files" in the toolbar about the solution in the solution explorer to see the models folder.
Just to say, the Modal folder is a convention. Call it 'Captain Fancy Pant's Snazy Objects' if that is what floats your boat.
Many thanks all for the replies above!
is working on a reply...