I'm just starting to work with Umbraco 6, after a long hiatus. First thing I am doing is learning to write Razor code. Naturally, I want to use VS to take advantage of color coding and IntelliSense. Problem is, I have no idea how to start. I tried simply opening a functioning Umbraco site as a website in VS, but no color coding or IntelliSense. I have a general sense that there is a different download I should be using for development purposes, but I'm just not sure how to proceed. I don't want to mess with Umbraco code, just write razor macros in the VS environment. What is the easiest path to that?
Thanks again, Alex. That was what I needed. I installed MVC 3 and all is well. I also found this very helpful video by Doug Robar that explains how to get intellisense to recognize dynamic content. Sweet!
Thank you too, Charles -- the first link you posted looks promising but appears to be broken. The second is way oevr my head. Like I said, I just want to use Razor to write macros.
I'm getting ready to dive into the umbraco.tv videos now.
Getting started with Razor in Visual Studio?
I'm just starting to work with Umbraco 6, after a long hiatus. First thing I am doing is learning to write Razor code. Naturally, I want to use VS to take advantage of color coding and IntelliSense. Problem is, I have no idea how to start. I tried simply opening a functioning Umbraco site as a website in VS, but no color coding or IntelliSense. I have a general sense that there is a different download I should be using for development purposes, but I'm just not sure how to proceed. I don't want to mess with Umbraco code, just write razor macros in the VS environment. What is the easiest path to that?
Hi Pete,
Did you do this steps ?
http://msdn.microsoft.com/en-us/library/gg606533(v=vs.100).aspx
Thanks, Alex. I will try that.
Hello, i would take a look at the umbraco documentation @
http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets ;
http://our.umbraco.org/documentation/Reference/Mvc/
If you have got any more question give us a shout and i will try and help as much as i can :) Charlie :)
Thanks again, Alex. That was what I needed. I installed MVC 3 and all is well. I also found this very helpful video by Doug Robar that explains how to get intellisense to recognize dynamic content. Sweet!
Thank you too, Charles -- the first link you posted looks promising but appears to be broken. The second is way oevr my head. Like I said, I just want to use Razor to write macros.
I'm getting ready to dive into the umbraco.tv videos now.
hey, sorry not posted back did not get a notifc. Charles. I will just test the link.
Hi, link must have changed. Here it is :) http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets
is working on a reply...