AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageBaseErrorPage..::..ByPassStaticFiles Method

Determines whether the current request targets a static resource (images, fonts, scripts, WebResource.axd / ScriptResource.axd handlers, etc.) so the error-page lifecycle can short-circuit and return the raw status code without rendering markup.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


protected virtual bool ByPassStaticFiles()

Return Value

true if the request should bypass the error page shell; otherwise, false.