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
There is some overhead to scanning business types during app startup in order to find and register the data annotation attributes as CSLA rules.
Normally this is incidental, but in a serverless scenario (for example) where app startup happens every time any code is used, this overhead can become problematic.
We can add an option to the AddCsla method to tell CSLA to not scan types for data annotation attributes. Normal rule registration would still occur, but without this scan, data annotation attributes would be ignored by CSLA.
The text was updated successfully, but these errors were encountered:
There is some overhead to scanning business types during app startup in order to find and register the data annotation attributes as CSLA rules.
Normally this is incidental, but in a serverless scenario (for example) where app startup happens every time any code is used, this overhead can become problematic.
We can add an option to the
AddCsla
method to tell CSLA to not scan types for data annotation attributes. Normal rule registration would still occur, but without this scan, data annotation attributes would be ignored by CSLA.The text was updated successfully, but these errors were encountered: