Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Alternate for ApplicationBlocks.ExceptionManager in .NET Core

$
0
0

I am migrating code from .net 4.6.2 to .net core/.net standard 2.2.

I am trying to find alternate for ExceptionManager.Publish() in .net core.

My current code is like below :

using Microsoft.ApplicationBlocks.ExceptionManagement;

          Exception e = new Exception(strMessage);

         ExceptionManager.Publish(e, objLogInfo);

And in Config we are specifying where exactly to log the event

<publishermode="on"assembly="Microsoft.ApplicationBlocks.ExceptionManagement"type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher"     logname="myLog"applicationname="myasmx" />

I used  nugets like - EnterpriseLibrary.ExceptionHandling 6.0.1.3  & EnterpriseLibrary.ExceptionHandling.netcore 6.3.0

is there any support for ApplicationBlocks.ExceptionManager .net core? Please help me out in fixing it.


Viewing all articles
Browse latest Browse all 8156

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>