Re:A todo list for new ASP.NET Core projects
by biarity on Thursday February 08, 2018 @03:38AM
(#16330951)
I myself really dislike that piece of code (searching in exception strings isn't secure for many reasons, for example someone could use this to reverse-engineer information about my database). But the only alternative that comes to mind is to check if an entity exists before attempting to create it - which I don't like because it leads to repetitive code in large projects (and I might forget to write checks). Any other ideas?
[ Parent
| on HN ]
There are no comments on this comment yet.