Issue writing to single file in Web service in .NET

前端 未结 11 1811
天涯浪人
天涯浪人 2020-12-10 17:37

I have created a webservice in .net 2.0, C#. I need to log some information to a file whenever different methods are called by the web service clients.

The problem

11条回答
  •  眼角桃花
    2020-12-10 17:50

    You could push the results onto an MSMQ Queue and have a windows service pick the items off of the queue and log them. It's a little heavy, but it should work.

提交回复
热议问题