Copied to clipboard

Flag this post as spam?

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


  • C Andreasson 79 posts 207 karma points
    Oct 08, 2014 @ 21:24
    C Andreasson
    0

    V.7.1.7 in Visual Studio

    Hi

    Is it true that when I install v.7.1.7 in visual studio 2013 via Nuget it comes without folder for the Model and Controller.?

    I have followed this installations guide
  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Oct 08, 2014 @ 21:49
    Jeavon Leopold
    100

    Yes, you can either create them or have them in a separate class library project that your Umbraco Web Application project references.

  • C Andreasson 79 posts 207 karma points
    Oct 10, 2014 @ 21:25
    C Andreasson
    0

    Thank you Jeavon ;-))

     

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Oct 10, 2014 @ 22:31
    Jeavon Leopold
    0

    You're welcome! For a example of the later, see how the v7 hybrid framework is structured here

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Oct 13, 2014 @ 11:34
    Sebastiaan Janssen
    2

    FYI: We don't add these folders on purpose because most people end up putting their controllers and models in a seperate visual studio project. We try to only create the folders that people are absolutely going to need and then it's up to individual developers to structure the project in the way they like best.

    Of course you can create them yourself or (even easier) in Visual Studio you can create your project like this:

    VS2012: File > New > Project > Make sure that .NET Framework 4.5.1 is selected at the top > Templates > Visual C# > Web > ASP.NET MVC 4 Web Application > OK > Empty > OK

    VS2013: File > New > Project > Make sure that .NET Framework 4.5.1 is selected at the top > Templates > Visual C# > Web > Visual Studio 2012 (!) > ASP.NET MVC 4 Web Application > OK > Empty > OK

    This will give you some folders to start with and then you can install the Umbraco NuGet package as described in the documentation.

    Screenshots (taken from VS2013):

    enter image description here

    enter image description here

    Gives you some folders and files to start with:

    enter image description here

  • C Andreasson 79 posts 207 karma points
    Oct 13, 2014 @ 16:17
    C Andreasson
    0

    Thanks for a good explanation :)

Please Sign in or register to post replies

Write your reply to:

Draft