asp.net - What is meant by httpruntime -
i asked question mean httpruntime , difference between httpruntime , httpmodules in interview
i tried understanding , got these link
still couldn't that. can give kind of simple definition know is.
i new asp.net please me.
as per msdn
httpruntime
httpruntime class—the entry point in pipeline. httpruntime object initializes number of internal objects carry request out. httpruntime creates context request , fills http information specific request. context represented instance of httpcontext class.
httpmodules
an http module assembly called on every request made application. http modules called part of asp.net request pipeline , have access life cycle events throughout request. http modules therefore give opportunity examine incoming requests , take action based on request. give opportunity examine outbound response , modify it.
tl;dr - httpruntime responsible managing request via spawning object , carry response end user whereas httpmodule way intercept request pipeline/events each of request.
Comments
Post a Comment