@manhng

Welcome to my blog!

Logging in ASP.NET Core

July 10, 2018 18:07

Logging in ASP.NET Core MVC 2.1 (edit)

A rolling file logging provider for ASP.NET Core 2.0

https://github.com/andrewlock/NetEscapades.Extensions.Logging

Logging in ASP.NET Core MVC 2.1 + Visual Studio 2017

https://github.com/NLog/NLog.Web

https://github.com/NLog/NLog.Web/tree/master/examples/ASP.NET%20Core%202/Visual%20Studio%202017/ASP.NET%20Core%202%20-%20VS2017

Accessing the HttpContext in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/01/05/accessing-httpcontext-asp-net-core/

Redis cache in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/01/06/using-redis-cache-net-core/

Upload Files in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/03/12/uploading-files-asp-net-core/

Session in ASP.NET Core 2.0

Sample application for implementing the session in .Net Core(2.0)

https://github.com/NeelBhatt/DotNetCoreSessionSample

Cookie Authentication in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/09/16/cookie-authentication-asp-net-core-2-0/

CSRF with jQuery/Angular in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/05/18/csrf-tokens-angularjsjquery-asp-net-core/

API Version in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/01/17/api-versioning-asp-net-core/

HttpClient in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2018/05/03/httpclient-factories-in-net-core-2-1/

AutoMapper in ASP.NET Core 2.0

https://dotnetcoretutorials.com/2017/09/23/using-automapper-asp-net-core/

How to work with logging in ASP.Net Core

https://www.infoworld.com/article/3235249/application-development/how-to-work-with-logging-in-aspnet-core.html

Third Party Loggers

NLog
https://github.com/NLog/NLog.Extensions.Logging – NLog is usually my go to for the simple fact that it in turn has many extensions into things like Logentries. Obviously there are other more simple options such as logging to a file or sending an email.

Elmah
https://github.com/elmahio/Elmah.Io.Extensions.Logging – Elmah is mostly popular because of the dashboard that it comes with. If you are already using Elmah, then this is an easy slot in.

Serilog
https://github.com/serilog/serilog-extensions-logging – Serilog is gaining in popularity. Again, another easy extension to get going that has a lot of versatility.

Categories

Recent posts