asp.net - AspNetSession layout renderer not working -


i using nlog logging in asp.net 4.5 website. have used nlog 4.0. need use session variables in logs. tries use aspnetsession layout renderer. layout renderer included in nlog.web. have added dll , under extensions tag in nlog config file. gives following error:

argumentexception: layoutrenderer cannot found: 'aspnet-session'

i have added nlog.extended dll , under extensions tag in nlog config file. didn't help.

please let me know should do.

enter image description here

you need install nlog.web assembly nuget using following command.

install-package nlog.web 

Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -