CodeMaze .Net Core Series Example Link
Asp.Net Core Web API + Postgresql +(Will Add Client-Side like Angular, React, or Blazor)
launchSettings.json
file which contains some configurations about project and you can modify them.
- Create interface for
ILoggingManager
service inContacts
. - Create
LoggerManager
class that is implementedLoggerManager
inLoggerService
. - Install NLog.Extension.Logging in
LoggerService
. - Create
nlog.config
file in main project directory. And set configurations in file. - Register LoggerManager service into ConfigureServices method in Startup.cs