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.
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.
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
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
Hi,
Do I need to reference some dll to use intellisense and to build some project?
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.
Strongly typed way:
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
is working on a reply...