Base solution for your next web application

Activities of "relix3000"

Hi, has anyone faced the situation where LDAP stopped working? I followed the LDAP guide in the documentation and it worked perfectly, but today I deployed a change to the server and it stopped working; only regular user login works. LDAP worked for over 3 months and various changes so I don't understand what's going on.

Wow, no one else has attempted this?

Hi, I am learning several things related to ABP. Fantastic framework! I am having a big issue creating a NOT IN Subquery. Basically in SQL I'd write...

SELECT * FROM TABLE1 WHERE Table1.ID NOT IN (Select ID from TABLE2)

How would I go writing something like that in ABP?

THis is my Code:

static void Main(string[] args)
        {
            using (var bootstrapper = new AbpBootstrapper())
            {
                bootstrapper.Initialize();
                var tester = IocManager.Instance.Resolve<Outstanding.OutstandingAppService>();
                tester.ChangeAllDates(DateTime.Now, DateTime.Today.AddDays(2));
            }

        }

 [DependsOn(typeof(AbpZeroEntityFrameworkModule), typeof(TestCoreModule))]
        public class MyConsoleAppModule : AbpModule
        {
            public override void Initialize()
            {
                IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
            }
        }

 public class DateProcessing : ITransientDependency
    {
        private readonly IOutstandingAppService _Outstanding;


        publicDateProcessing(IOutstandingAppService Outstanding)
        {
            _Outstanding = Outstanding;
        }

No work. Getting : An unhandled exception of type 'System.ArgumentNullException' occurred in Abp.Zero.dll

Additional information: Value cannot be null.

I found this: <a class="postlink" href="https://gist.github.com/hikalkan/caf54a092c929e4c558b">https://gist.github.com/hikalkan/caf54a092c929e4c558b</a>

But I am having no success.

Hi! I am using ABP for a web project and I need to create a Console application that will run several separate processes. I want to use ABP services and its functionality to keep the code as simple as possible but I am having issues doing it. If any one has suggestions I'll gladly take them!

Thanks Terry. My SQL profiler has been giving me trouble and I couldn't find any way to see how it was working underneath. Thanks a lot!

Hi! I have a simple question regarding performance as I've seen this situtation happen before and just wanted to make sure. When we use GetAll, from IRepository, and then filter results... is the whole table fetched from the table and then filtered or is it filtered before fetching to database? Thanks in advance.

Hi Hikalkan, the error was mine. I had a previous set of models I was using to work with and were being left over. Sorry to waste your time!

Hi! I've been fighting with this error for a while now and I am about to break down :lol: I started an original ABP template with Entity and MVC (not SPA). I needed authentication so I added the module-zero to his existing project. I created the classes as per the documentation and additionally created a ABP Module Zero project so I could compare the codes. After some fine tuning, it all compiles! Yet, as soon as I try to access the login page I get a dependency injection error.

Can't create component 'NetCoop.Users.UserManager' as it has dependencies to be satisfied.

'NetCoop.Users.UserManager' is waiting for the following dependencies:
- Service 'NetCoop.Users.UserStore' which was registered but is also waiting for dependencies.
'NetCoop.Users.UserStore' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`2[[NetCoop.Users.User, NetCoop.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.
- Service 'Abp.Domain.Repositories.IRepository`1[[NetCoop.Authorization.Roles.Role, NetCoop.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.
- Service 'NetCoop.Authorization.Roles.RoleManager' which was registered but is also waiting for dependencies.
'NetCoop.Authorization.Roles.RoleManager' is waiting for the following dependencies:
- Service 'NetCoop.Authorization.Roles.RoleStore' which was registered but is also waiting for dependencies.
'NetCoop.Authorization.Roles.RoleStore' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`1[[NetCoop.Authorization.Roles.Role, NetCoop.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.
- Service 'Abp.Domain.Repositories.IRepository`1[[NetCoop.MultiTenancy.Tenant, NetCoop.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

I verified the code line by line with the project and documentation and its all the same! What is going wrong?

Showing 1 to 10 of 10 entries