Diff between Site Pages Vs Application Pages
Site Pages:
- Pages that support user customization are known as site pages and stored
in the content database.
Ex. Site pages default.aspx, NewForm.aspx, and EditForm.aspx. - Site pages customization provides flexibility but can also impact
performance and scalability Each page would also have to be individually
parsed and loaded into memory.. - Site pages do not support in-line code under the default security
policy enforced by WSS.
- Application pages do not support customization, which gives them two
distinct advantages over site pages.- First, each application page is always compiled into a single DLL so that it performs and scales better than a site page.
- Second, application pages are allowed to have in-line code.
- Application pages are deployed as physical files on file system of front end
web server on the server's file system.
An application page, such as settings.aspx, can be accessed by adding its
relative path within the _layouts directory to the end of a site’s URL. - Application pages support customization
- Ghosted = Un-Customized, The asp.net parser renders the page.
- Unghosted = Customized, Controlled by the SafeMode parser.
- Reghosting = Changing from Customized to Un-Customized.
Comments
Post a Comment