deathlybower959
deathlybower959
CC#
Created by deathlybower959 on 11/20/2023 in #help
Blazor Services
I dont know too much blazor, but I have a .cs file in a /Settings folder, in which I would like to access a service which is storing state. (The service called State is stored in /Appearance). In razor components, i can just use @inject State state, and then access and modify it using state.<prop> How can i do the same inside of a standard c# file?
14 replies