Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Sep 21, 2014 @ 09:40
    Biagio Paruolo
    0

    Is there a guide to devel on Umbraco + Vs2012/Vs2013?

    Is there a guide to devel on Umbraco + Vs2012/Vs2013 or build a website with Umbraco and VS as editor for views and macros with intellisense support?

    Tahnk you

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Sep 21, 2014 @ 11:00
    Dennis Aaen
    0

    Hi Biagio,

    The way I normally do it, is just install the Umbraco, and after it´s installed then I just open it up in my favorite editor it could be Visual Studio or Sublime. 

    Here is an article that may help you: http://www.systenics.com/blog/setting-up-umbraco-7-in-visual-studio-2013-for-mvc-4-development/ or http://our.umbraco.org/documentation/Installation/install-umbraco-with-nuget

    Hope this helps,

    /Dennis

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Sep 21, 2014 @ 16:32
    Biagio Paruolo
    0

    Hi,

    Do I need to reference some dll to use intellisense and to build some project?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Sep 21, 2014 @ 16:55
    Dennis Aaen
    0

    Hi Biagio,

    Nope the intellisense, just work out of the box, the only thing is when you written Razor code if you want to have intellisense you need to write the strongly typed model Razor.

    If you are using the dynamic razor you didn´t get intellisense.

    Dynamic way to get a property of currentpage.

    @CurrentPage.PropertyAlias

    Strongly typed way:

    @Model.Content.GetPropertyValue("PropertyAlias")

    Here are some good Razor cheat sheet for both strongly typed and dynamic version of Razor. 

    http://our.umbraco.org/projects/developer-tools/umbraco-v6-mvc-razor-cheatsheets I know it says for Umbraco 6, but Umbraco 7 are using the same syntax, so with these cheat sheets you should get some good help.

    But just to summarizes you will get intellisense in Visual studo if you are written your Razor in the strongly typed version.

    Hope this helps,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft