Restrict object's properties to be added in ASP.NET application state
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I have some objects I should add to ASP.NET application state. Of course, I can add the object as a whole. The class that object belongs to have some properties and all of them will be added with the object to the application state. But, is there a way to mark some properties of the class to not be included in adding object to the application state? I've thought about writing attribute, but am not sure if it will work. Thank you for any suggestion.