Base solution for your next web application

Activities of "khaled"

Hi,

why Logger does not log when use it with classes other than app service classes, can any one tell me where is the error here:

//SomeClass.cs
public class SomeClass : ITransientDependency
    {
        public ILogger Logger { get; set; }

        public SomeClass ()
        {
            Logger = NullLogger.Instance;
        }

        internal async Task SomeMethod()
        {
            //.................
            //log message does not work
            Logger.Info("message");
            //..............
        }
    }

//DemoApplicationModule.cs
[DependsOn(typeof(DemoCoreModule))]
    public class DemoApplicationModule : AbpModule
    {
        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
            IocManager.Resolve<SomeClass>();       
        }
    }

Can I have a sample of how to enable and disable AbpAuthorzie attribute based on AbpFeature is enabled or not.

HI, I am beginner in ASP.NET Boilerplate Framework. I need to build web application with two SPA Areas one for public and other to authenticate throw ADFS, The two SPA areas should consume some shared application services but different navigation menus, how can I configure your template to build this.

Thanks in advance, Khaled

Showing 1 to 3 of 3 entries