Is it possible to use Razor script in Umbraco 4? (Win forms)
I need to make some changes to existing Umbraco site which build on Umbraco 4 with win forms (Master pages, etc) - Is it possible to use Razor scripts? / Razor code? I want to use it in the new pages I'm add
What version of Umbraco are you using? There's some early support for Razor in 4.7, and I think it got fairly polished around 4.7.2. This is just for macros though, you'd still be using masterpages.
If you're in 4.7, this page has a lot of links to some helpful resources that should explain further.
If you're ~4.11 you can still use the methods above or you can use Partial View Macros which will have some different syntax - more documentation here.
Is it possible to use Razor script in Umbraco 4? (Win forms)
I need to make some changes to existing Umbraco site which build on Umbraco 4 with win forms (Master pages, etc) - Is it possible to use Razor scripts? / Razor code? I want to use it in the new pages I'm add
Thanks.
Hi,
What version of Umbraco are you using? There's some early support for Razor in 4.7, and I think it got fairly polished around 4.7.2. This is just for macros though, you'd still be using masterpages.
If you're in 4.7, this page has a lot of links to some helpful resources that should explain further.
If you're ~4.11 you can still use the methods above or you can use Partial View Macros which will have some different syntax - more documentation here.
-Tom
is working on a reply...