session in abp.io code example
Example: abp session logged in user
[DependsOn(
typeof(MyAppApplicationModule),
typeof(MyAppDataModule))]
public class MyConsoleAppModule : AbpModule {
public override void PreInitialize() {
// set my IAbpSession implementation
Configuration.IocManager.RegisterIfNot(DependencyLifeStyle.Singleton);
}
public override void Initialize() {
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
}
}