We are doing an upgrade on one of our sites from V8 to V10.
We need to access Services (which used to be accessible via the UmbracoViewPage class) so we can then get access to the MemberService. How do we access services now?
m
Matt Wise
07/13/2023, 12:41 PM
You can now use @inject within views so you can do @inject IMemeberSerivce
Amazing thank you very much for the info guys. I will give that a blast 😄 none of us have worked with upgrading Umbaco before so it's very much appreciated
p
ProBot ✨
07/13/2023, 12:47 PM
@User May I suggest “Umbracians” instead of "guys"? We use gender inclusive language in this Discord. 😀
m
Matt Wise
07/13/2023, 12:50 PM
If you don't like @inject in views, take a look at ViewComponents