Sign In
Kanwaljeet Singla's Weblog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
AdvancedLogging
Appcmd
Configuration
Custom Errors
FastCGI
IIS 7.5
IIS7
MSDeploy
PHP
Tracing
WinCache
Archive
Archives
October 2009
(1)
September 2009
(2)
April 2009
(3)
March 2009
(1)
February 2009
(1)
January 2009
(2)
December 2008
(2)
June 2008
(3)
February 2008
(2)
December 2007
(2)
July 2007
(2)
June 2007
(1)
May 2007
(2)
April 2007
(1)
February 2007
(2)
December 2006
(2)
November 2006
(2)
August 2006
(3)
June 2006
(3)
Exposing runtime data from IIS worker processes
MSDN Blogs
>
Kanwaljeet Singla's Weblog
>
Exposing runtime data from IIS worker processes
Exposing runtime data from IIS worker processes
Kanwaljeet Singla
4 Jun 2008 11:22 AM
Comments
0
Dynamic properties feature in IIS7 configurtion system lets you expose dynamic data as configuration system properties. RscaExt.xml which is part of IIS7 has all the RSCA (runtime status and control APIs) functionality exposed as dynamic properties through configuration system (read more
here
). One of the things RSCA let you do is expose custom runtime data from a worker process using
GetCustomData
method. You can call
GetCustomData
method for a worker process instance which sends a
GL_RSCA_QUERY
notification to the worker process. Once this notification is generated, IIS core engine then calls all the modules which subscribed to
GL_RSCA_QUERY
global notification. These modules can then return any runtime data they want to which is seen as the return value of
GetCustomData
method.
RequestMonitorModule
is one example of such module which subscribes to
RQ_BEGIN_REQUEST, RQ_END_REQUEST
to keep track of requests getting processed and also subscribes to
GL_RSCA_QUERY
to expose this requests in flight data through RSCA.
CGlobalModule::OnGlobalRscaQuery
method which gets invoked on
GL_RSCA_QUERY
event accepts
IGlobalRSCAQueryProvider
as an argument which can be used to get the function name (referred to as GuidOfFunctionCall in rscaext.xml), function parameters and also to set the return value of GetCustomData.
Read full post
here
.
-Kanwal-
0 Comments
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 7 and 3 and type the answer here:
Post