labilbe
labilbe

Reputation: 3584

How to configure AppHostBase virtual methods?

AppHostBase has two overridable methods where you can configure your inherited Application host

Is there a rule to know which is better?

For instance:

Is it better to call these lines on Init() or Configure() or it depends?

Upvotes: 2

Views: 71

Answers (1)

mythz
mythz

Reputation: 143369

All ServiceStack Configuration should be maintained in AppHost.Configure() which is also the only abstract method which every AppHost needs to override.

Upvotes: 1

Related Questions