After having acces to umbraco.tv I started from the beginningSå I made make masterpage-templates with XSLT.Then I found out that it was easier to use Razor macros but the videos seamed to use a number of different syntaxes.And now I found out that I should be using MVC instead of webforms.So my question now isif I change<defaultRenderingEngine>Webforms</defaultRenderingEngine>to<defaultRenderingEngine>MVC</defaultRenderingEngine>how do I make alle my many templates work with this change?Is it enough to use the "umbraco masterpages to views conversion chat sheet" ?and will my macros still work?
If I don´t make all the changes in the templates (according to the umbraco masterpages to views convversion sheat sheet") correct - will I risk a broken system or just yellow screens easy to fix?
How to safely change from Webform to MVC
After having acces to umbraco.tv I started from the beginningSå I made make masterpage-templates with XSLT.Then I found out that it was easier to use Razor macros but the videos seamed to use a number of different syntaxes.And now I found out that I should be using MVC instead of webforms.So my question now isif I change<defaultRenderingEngine>Webforms</defaultRenderingEngine>to<defaultRenderingEngine>MVC</defaultRenderingEngine>how do I make alle my many templates work with this change?Is it enough to use the "umbraco masterpages to views conversion chat sheet" ?and will my macros still work?
Normally all your macro's will keep working when switching to MVC. The only exception are Usercontrol macros that depend on postbacks.
If I don´t make all the changes in the templates (according to the umbraco masterpages to views convversion sheat sheet") correct - will I risk a broken system or just yellow screens easy to fix?
Now I tryed and I´m getting a yellow page saying
Navnet 'Section' findes ikke i den aktuelle sammenhæng
in the line
@Section Head{
...
}
According to the cheatcheat I'm supose to use this instead of
<asp:content contentplaceholderid="Head">
...
</asp:content>
but it doesn´t seem to reconize 'Section'
Can anybody help?
is working on a reply...