Should I take ILogger, ILogger, ILoggerFactory or ILoggerProvider for a library?

Definition We have 3 interfaces: ILogger, ILoggerProvider and ILoggerFactory. Let’s look at the source code to find out their responsibilities: ILogger: is responsible to write a log message of a given Log Level. ILoggerProvider: is responsible to create an instance of ILogger (you are not supposed to use ILoggerProvider directly to create a logger) ILoggerFactory: … Read more

.NET Standard vs .NET Core

I will try to further clarify your doubts and extend Jon Skeet answer. .NET Standard is a specification, so a library compiled for a specific .NET Standard version can be used in different .NET Standard implementations. As said in my other comment, a good analogy for the relationship between .NET Standard and other .NET Standard … Read more

What is the difference between .NET Core and .NET Standard Class Library project types?

When should we use one over the other? The decision is a trade-off between compatibility and API access. Use a .NET Standard library when you want to increase the number of applications that will be compatible with your library, and you are okay with a decrease in the .NET API surface area your library can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)