#Upgrade 8 to 10. How do we access services now? (MemberService specifically)

1 messages · Page 1 of 1 (latest)

lost tartan
#

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?

open cove
#

You can now use @inject within views so you can do @inject IMemeberSerivce

abstract prism
lost tartan
#

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

naive zincBOT
#

@lost tartan May I suggest “Umbracians” instead of "guys"? We use gender inclusive language in this Discord. 😀