Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "guglielmino"

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 ?

Showing 1 to 1 of 1 entries