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>
Ta przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
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>