You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a custom ISerializer (CustomSerializer class) to accommodate a different format of the JSON file on disk. I added the following code to my ConfigureServices method to attempt to register my custom serializer.
When trying to access my model I get a NullReferenceException like the below stack trace. I'm sure I'm missing something in the registration of the CustomSerializer because the break points in my CustomSerializer class are never hit and the DefaultStoreManager.Initialize method throwing the exception attempts to retrieve the ISerializer from the IServiceProvider.
I am trying to implement a custom ISerializer (CustomSerializer class) to accommodate a different format of the JSON file on disk. I added the following code to my ConfigureServices method to attempt to register my custom serializer.
When trying to access my model I get a NullReferenceException like the below stack trace. I'm sure I'm missing something in the registration of the CustomSerializer because the break points in my CustomSerializer class are never hit and the DefaultStoreManager.Initialize method throwing the exception attempts to retrieve the ISerializer from the IServiceProvider.
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: