Closed minhhungit closed 7 years ago
ASP.NET Web Forms are certainly supported. Just configure your web.config file similar to this:
<configuration>
<configSections>
<section name="Exceptional" type="StackExchange.Exceptional.Settings, StackExchange.Exceptional"/>
</configSections>
<Exceptional applicationName="MyWebFormsApp">
<!-- Error log store to use -->
<ErrorStore type="SQL" connectionString="Data Source=.;Initial Catalog=Exceptions;Uid=Exceptions;Pwd=iloveerrors" />
</Exceptional>
<system.webServer>
<modules>
<add name="ErrorStore" type="StackExchange.Exceptional.ExceptionalModule, StackExchange.Exceptional" />
</modules>
<handlers>
<add name="Exceptional" path="exceptions.axd" verb="POST,GET,HEAD" type="StackExchange.Exceptional.HandlerFactory, StackExchange.Exceptional" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>
Here's an explanation of the relevant parts and what needs to be configured.
1: The added entry in
This is just a quick and easy basic setup. There's other ways of configuring everything and there's other things that can be added (like emailing errors). But this should at least get you started. Be sure to also check the Wiki pages.
@CptRobby Thank you for spending time with me. It worked 👍
Hi team, It looks we do not support asp.net web form, if we support it, can anyone please show me how to implement ?