Custom faults in asmx
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>
Ce navigateur n’est plus pris en charge.
Effectuez une mise à niveau vers Microsoft Edge pour tirer parti des dernières fonctionnalités, des mises à jour de sécurité et du support technique.
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>