Checking the Validate method for errors
...retrieve Customer object...
cust.City = newCity;
cust.Address = newAddress;
...more property settings...
System.ComponentModel.DataAnnotations.IValidatableObject ivo = cust;
if (ivo.Validate(null).Count() > 0)
foreach (System.ComponentModel.DataAnnotations.ValidationResult vr
About the Author
Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.
A new tool that can generate code is being previewed in the Visual Studio Code Insiders channel seeks to ease the tedious data preparation process that data scientists need to go through to get good data for successful analysis projects.
Decision trees are useful for relatively small datasets that have a relatively simple underlying structure, and when the trained model must be easily interpretable, explains Dr. James McCaffrey of Microsoft Research, who provides step-by-step instructions and full source code.
Microsoft has open sourced an internal incubation project that can help developers integrate cutting-edge AI models quickly and easily into their apps.
Power Platform "is reinventing software development with AI-powered no-code development."
There are a raft of minor improvements for the brand-new Visual Studio 2022 v17.6 Preview 2, with accompanying release notes revealing that the IDE is ditching the baked-in Edge Developer Tools
> More Webcasts