Base solution for your next web application

Activities of "abarref"

Nice! I didn't know how to define the Custom Config Provider. I defined it like this in the CoreModule.PreInitialize method:

Configuration.CustomConfigProviders.Add(new AppCustomConfigProvider(IocManager.IocContainer.Resolve<CustomSettings>()));

Then it gets merged into the abp object in AppPreBootstrap.ts, so the last step was to define my custom settings in typings.d.ts:

declare namespace abp {
    namespace ui {
        function setBusy(elm?: any, text?: any, optionsOrPromise?: any): void;
    }
    namespace custom {
        namespace customSettings {
            interface ISomeCustomInterface {
                customProperty: boolean;
            }

            let someCustomSettings: ISomeCustomInterface;
        }
    }
}

Thanks for your guidance :)

Hi,

I have some custom settings in the appsettings.json file. I would like to use some of those settings in the client-side to enable/disable some things.

Is there a way to add custom values to the 'AbpUserConfiguration/GetAll' response?

Thanks

Tried the SmtpAppender and couldn't make it work. Enabled internal logging of log4net and found that the SmtpAppender is not available in .Net Core. The same issue as described here: smtpappender-missing-in-log4net-2-0-8-nuget

I'll go with custom Log4NetLogger approach another day with some more time.

Thanks. Indeed that seems like the easiest approach.

The default implementation of ILogger is Abp.Castle.Logging.Log4Net.Log4NetLogger.

I need to extend its functionality so when logging an exception it also sends an email.

What would be the best approach for this?

The Log4NetLogger class has no virtual methods. Should I copy the entire class and customize it as desired?

Thanks

Question

Hi, How can I tell which version of Bootstrap 4 this template uses? I'm using the Asp.Net Core + Angular template, v6.6.1. Thanks

Showing 21 to 26 of 26 entries