Hi.
I am testing V8, and want to test some legacy code we are using on some V7 Umbraco sites.
We are having some macros, created as usercontrols, is ascx files, with both C# and VB.net in them.
As far as I can see in Umbraco V8, I can not add a usercontrol with a Macro, or am I missing something?
I'm 99% sure that webforms are dead in Umbraco 8 and will be pure MVC so whatever old code you have that works using webforms on v7 you'll need to refactor for v8 and MVC.
Well, I hope there will be some option to run legacy code. It would for sure make a big difference for us, if we decide to move some of our current sites to V8.
usercontrol
Hi. I am testing V8, and want to test some legacy code we are using on some V7 Umbraco sites. We are having some macros, created as usercontrols, is ascx files, with both C# and VB.net in them. As far as I can see in Umbraco V8, I can not add a usercontrol with a Macro, or am I missing something?
Best regards Jimmy
Hi Jimmy
I'm 99% sure that webforms are dead in Umbraco 8 and will be pure MVC so whatever old code you have that works using webforms on v7 you'll need to refactor for v8 and MVC.
You can read a bit more about HQ's take on how to migrate from v7 to v8 here: https://umbraco.com/blog/umbraco-7-to-umbraco-8-a-developer-s-perspective/
I hope this helps a bit.
/Jan
Hi Jan
Thanks for your quick answer.
Well, I hope there will be some option to run legacy code. It would for sure make a big difference for us, if we decide to move some of our current sites to V8.
Jimmy
Jan is right, usercontrols are no longer supported in v8.
For some help with this, you could refer to this blog post, it's almost 6 years old but it still holds up pretty well.
Hi Sebastiaan
OK, thanks.
I think you forgot the link to the blog post :-)
Whoops I did!
https://umbraco.com/blog/moving-from-webforms-to-mvc/
is working on a reply...