0
fncap created
It's very late ... but this exception hurting myself by lot of hours!
Basically it happens when I'm trying to use a service injected by IoC... on method 'ValidateObjectRecursively'!
As said.. it's too late to share some further info ...
Someone has an idea when and how this overflow can be happen?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
This is generally related to your method parameters. What your method gets? a DTO? If so, please share.
BTW, you can add a type to ignore in recursive validation, like that (in PreInitialize of your module):
Configuration.Validation.IgnoredTypes.Add(typeof(YourSpecialClass));
This prevents validation for YourSpecialClass. Find the 'different' (generally, not primitive) type and add to ignore list.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)