Hi, I'm trying to use Abp with a WebApi project using Owin. I made a simple module and in Startup class I call
app.UseAbp();
but Initialize of my module is never called. Module class is pretty simple
[DependsOn(typeof(DataEfUsersModule),
typeof(DataUsersModule),
typeof(BusinessUsersModule))]
public class EpAuthModule : AbpOwinModule
{
public override void PreInitialize()
{
}
public override void Initialize()
{
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
}
}
And Configure method of Startup is also really simple:
public void Configuration(IAppBuilder app)
{
app.UseAbp();
var config = new HttpConfiguration();
config.MapHttpAttributeRoutes();
app.UseWebApi(config);
}
Is there something wrong ?