Monitoring WCF web services -


I am new to WCF and I have deployed a web site with IIS7, in which 2. SVC files are on each SVC files, there is a service with some methods available through the interface.

What I have to do is to know how many times each method is called and which calls each method. I would like to be able to store these values ​​in a DB for example, if it is possible to monitor my custom, but without logging in to the services.

Do you know how I can do this?

Thank you in advance for your help.

You can turn on tracing in WCF. You do not need messaging logging You can apply custom tracing that logs in to DB instead of an XML trace file.

The best bet in the future is probably hosting the WCF service, which was used by the appfabric framework that was introduced in .NET 4.0 on Windows Server 2008 R2. Appfabric provides an IIS extension that can be configured to trace and log WCF calls for a SQL Server DB and monitors the Dashboard in the IIS Admin Console. more information.

Depending on the needs you can also turn on.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -