vendredi 3 février 2023

in asp.net core, should i still use try-catch if i already have exception filter?

I'm talking about general functions in controller repositories: database stuff and logic. I presume that a-sync calls to-from other api should always be with try catch in case those fail. But about all the other stuff, should i still use try-catch or just one exception filter and be done with it?? I'm not sure what the common architecture use in the industry. thanks

Aucun commentaire:

Enregistrer un commentaire