This is probably a really stupid question but I've searched around the web and can't find the answer. I'm thinking I may have setup my Umbraco dev enviroment up incorrectly in Visual Studio 2013.
I have a working install of Umbraco running but I can't find the Controller folder or Model folder to allow me to use them.
This is how my install looks just now.
Do I need to start again with a different setup to allow me to write my own controllers etc?
Thanks,
Umbraco MVC Setup - VS2013
This is probably a really stupid question but I've searched around the web and can't find the answer. I'm thinking I may have setup my Umbraco dev enviroment up incorrectly in Visual Studio 2013. I have a working install of Umbraco running but I can't find the Controller folder or Model folder to allow me to use them.
This is how my install looks just now.
Do I need to start again with a different setup to allow me to write my own controllers etc? Thanks,
Hello owain,
you can add your own folder to solution named 'controllers' in that solution.
Ronak Panchal
Is there any other folders you would say I need to add?
I've added Controllers & Models, just wondered if there was anything else missing that I might use.
Thanks.
Yes You doesn't need to do anything more you can add as your need.
if you want to separation of code and better structure.
Then you can add new class library project to solution
You can see below Image for structure.
Hope this will help you,
Ronak Panchal.
Thanks Ronak. That's a great help.
I'm trying to follow a tutorial on Learn Umbraco 7 but I can't work out where I create the class :
Which can be found on this section
That's what got me thinking maybe I hadn't setup the MVC side correctly.
you mean you want to make a custom section ?
Ronak
Yes. I was just trying to follow the tutorial but I couldn't work out where I was meant to create a section in code, programmatically.
That tutorial contain much more things.
If you ask us for particular thing where you are stuck then we can do something.
i don't know where you are stopping.
Ronak Panchal.
Thanks for your continued help Ronak.
I am stuck at the version part where it says I need to create a class to declare the section.
The class has a namespace UmbracoBookshelf.Applications but I can't replicate this within my code.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.