Is there a way to make the "Event Collection Service" of AppFabric collect events generated from an ASP.Net application.
-
2011年10月6日 19:44
Hi,
AppFabric is always presented as a Hosting Environment for Pure WCF Services and WF Services thus the monitoring features are only available for Pure WCF Services and WF Services. I'm wondering if there's a solution to make the "Event Collection Service" of AppFabric collect also Events that are generated from an ASP.Net application (Implicit Events and User-Defined Events). The idea is to get a centralized monitoring through the AppFabric Dashboard of several tiers of the application (ASP.Net and WCF Services)? If not, why wouldn't this be possible? and what are the other available solutions?
Thanks
Foued.
全部回复
-
2011年10月15日 14:24版主
The AppFabric monitoring environment is really for WF and WCF events but there may be a way to do this.
This ASP.NET article mentions how to collect ASP.NET events in a custom event provider: http://msdn.microsoft.com/en-us/library/ms178718.aspx. Then I would modify this to either call a WF service that is hosted in AppFabric or write directly to the AppFabric monitoring database tables. Writing to the tables directly could be be painful but I think the challenge with hosting a WF service is that if you raise an error the workflow instance will get suspended.
Also, you would need to add tracing statements to your ASP.NET site for handling trace transfer events although I am not sure if you could correlate all the events properly so they all display as you would expect in the AppFabric dashboard.
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline

