damienbod/AspNetCoreNlog

Move to NLog.Web.AspNetCore

304NotModified opened this issue · 9 comments

Thanks for the great tutorials!

Since the beta of the NLog.Extensions.Logging, ASP.NET Core users should install NLog.Web.AspNetCore. This was needed to support also the non-ASP.NET users.

NLog.Web.AspNetCore has a dependency on NLog.Extensions.Logging, so there is no need to directly install NLog.Extensions.Logging anymore.

See also Getting Started with ASP.NET Core (project json)

Would also fix #2

@304NotModified thanks, I'll do it this week, thanks for the great library.

Greetings Damien

@304NotModified I try adding ethe extra propeties from the NLog.Web.AspNetCore in the config, but these items are not displayed in the files, databases. Any ideas what could be incorrect?:

Example:

add assembly="NLog.Web.AspNetCore"

url: ${aspnet-request-url}|action: ${aspnet-mvc-action}

No, now it works perfect, thanks

@304NotModified If you want, I could create a pull-request on your repo for getting started with ASP.NET Core csproj. Should I?

Well it's a wiki page now, so you could add it ;)

It's also OK for me to add a link to your github repos if you would prefer that.