Notification or warning system for .NET C # Component

I am looking for a notification or warning structure that can be used as a separate module in my application, I can just use the frame functions. Are there any good ones ?.

I need frameworks that don’t use a lot of dlls from other manufacturers in order to perform some tasks. Just connected to .net framework dlls

notifcations as email as basic ...

+3
source share
3 answers

We use log4net and found great flexibility. We also have our own wrapper class, which is used in all of our projects, allowing us to use static methods to write to specific logs. Log4net comes with one DLL and, of course, our dll wrapper. It is easy to extend for additional functionality, now our wrapper class allows us to write to the Windows event logs, if necessary.

There are many examples of how to implement log4net, and provides many ways to write / send log information: http://logging.apache.org/log4net/release/config-examples.html

An example of the implementation of our wrapper:

Log.Error("Message", this);
Log.Error("Message", Exception, this);
Log.Error("Message", Exception, Type);
Log.Info("Message", this);
Log.Warn("Message", this);
0
source

Something like log4Net? or message queuing system, sks MSMQ

-1

Microsoft enterprise registration module enterprise enterprise infrastructure can be customized for your purpose. It supports various channels, including email and trace file. it can be reconfigured by changing the configuration file of your application.

-1
source

Source: https://habr.com/ru/post/1709509/


All Articles