Tekniq mark
Tekniq SDK Docs

Startup Flow

Understand StartUpApplication, StartUpFeature and when to initialize the SDK

Initialization order Understand StartUpApplication, StartUpFeature and when to initialize the SDK
Audience: Developers Level: Basic Area: Startup

Startup Flow

The startup flow defines when your SDK initialization happens and how startup classes such as StartUpApplication and StartUpFeature fit into the lifecycle.

Recommended order

  1. Tekla loads your plugin assembly.
  2. Your startup class or feature entry point runs.
  3. You call TekniqSdk.Initialize(typeof(YourPluginClass).Assembly).
  4. You check RequireInitialized() and RequireLicensed().
  5. Your plugin continues with normal execution.

Key rule

Always initialize the SDK as early as practical, using the actual plugin assembly that Tekla loads.

This avoids incorrect assembly resolution and keeps licensing checks predictable.