Relative Content

Tag Archive for jsonenumsblazorjson.net

Unable to get Blazor Web App .Net 8 to deserialize enums

I have created several POCO model classes, all of which have enums in them. I have several components (using hubs) which will display the models and update them. However, I cannot figure out how to get Blazor Server (.Net 8) setup properly in order to get the models sent properly from the server to the componenent – but I know it’s a serialization/deserialization issue. It seems that Blazor has changed how to setup/configure Json quite a bit over the past couple of years.