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.
Would also fix #2
@304NotModified thanks, I'll do it this week, thanks for the great library.
Greetings Damien
updated
VS2015 project.json version:
https://github.com/damienbod/AspNetCoreNlog/tree/VS2015_project_json
VS2017 msbuild version:
https://github.com/damienbod/AspNetCoreNlog
@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:
do you have those 3 settings from step 3? https://github.com/NLog/NLog.Web/wiki/Getting-started-with-ASP.NET-Core-(project.json)#3-update-startupcs
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.
ok