Using katana, why does the Startup class should not implement a respective interface, like for example:
interface IStartup
{
void Configuration(IAppBuilder app);
}
public class MyStartup : IStartup
{
public void Configuration(IAppBuilder app)
{
...
}
}
I think that it could be much more intuitive for the developers to understand what they should provide with to the WebApp.Start<T>
method as the T argument instead of guessing and looking for examples, it should be more explicit:
public void Start<T>() where T : IStartup