Entry point extensibility

Version: 9.0

The default entry point for a SPEAK 3 application is an ASP.NET Web Forms page (.aspx) in the Sitecore.Speak.Integration.Spa library. This topic describes how you can extend this page with custom logic.

The library has two main entry point classes:

  • Sitecore.Speak.Integration.Spa.SpaPage

  • Sitecore.Speak.Integration.Spa.SecureSpaPage

Use these entry point classes by creating an inherited class that has your custom logic.

For example:

RequestResponse
  public class CustomSpaPage: SecureSpaPage
  {
    protected override void OnLoad(EventArgs e)
    {
        //your logic can be added here
        base.OnLoad(e);
    }
  }

Update the entry point of your application to the page class that you have created.

You can use the lifecycle event of another page, but you must execute the OnLoad base class method to be sure that all of your features work as expected.

Do you have some feedback for us?

If you have suggestions for improving this article,