I read in several places that log4net threadContext is unsafe for use in asp.net scripts. Here are some articles:
Log4Net, ThreadContext and Global.asaxhttp://piers7.blogspot.com/2005/12/log4net-context-problems-with-aspnet.html
So, in my script, I want to use threadContext in a WCF layer hosted in IIS. Is threadcontext okay? I think the concurrency mode "single" would do this normally.
Since Log4net is thread safe, I would not expect a problem.
log4net , asp.net wcf. . , log4net threadcontext. , .
WCF, IIS6, log4net , concurrency. threadContext .
The only caveat is that if you load the log4net parameter from an external file into the WCF layer, you may need to restart it in IIS to get the changes.
Source: https://habr.com/ru/post/1730601/More articles:Как я могу получить плагин слайд-шоу jquery, который изменит несколько div? - javascriptC # How to create a panel for future use .. (Settings screen) - c #How to create breadcrumbs using the Dynamic Data / LINQTOSQL infrastructure? - asp.netAfter establishing a connection with websocket, chrome is disconnected. Is this related to domain mismatch? Or is Chrome a bug? - javascriptSQL table with parent and child nodes (navigation table) - sql-serverHierarchical application for database selection / attachment (SQL Server) - sql-serverMSBuild VS SLN file and project files - msbuildHow to replace strings not in link tag? - stringIs there a constant that describes the minimum value of a Windows FileTime file in .NET? - datetimehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1730606/multiplying-a-subset-of-a-list-of-integers-together-in-python&usg=ALkJrhiZVCsbOGRlyokSaNK1s_ddU6EBnQAll Articles