Base solution for your next web application

Activities of "alexnaldo"

Guys,

I need fro create dynamic permissions from database, but the below code doesn't work.

public class AppAuthorizationProvider : AuthorizationProvider
    {
       IRepository<MyTable> _repository;
        public AppAuthorizationProvider(IRepository<MyTable> repository)
        {
             _repository = repository;
        }
        public override void SetPermissions(IPermissionDefinitionContext context)
        {
                 var items = _repository.GetAll().ToList();
                ..
               ..
        }
}

How to make dependence valid from AppAuthorizationProvider ?

Thanks, Alexnaldo Santos

After updated to 0.7.4.1 worked fine!

Tkns

Every class at Core project doesn't supports DataBinding, even a pure POCO class...

Exception: "Could not load file or assembly 'Abp, Version=0.7.4.0, Culture=neutral, PublicKey=null' or one of its dependencies.

Any class at Application project works fine, so I think that Abp.dll is not the problem, and only the Core project.

May be Core does anything when was loaded, like a static methods, etc...

Hi Guys,

I'm using DevExpress XtraReport to create reports.

In the Report Design, we uses BindindSource to DataBinding. When we select any database class from Core "Models" project the Visual Studio close unexpected. If I do the same thing using any class that doesn't inherited from FullAuditedEntity or AuditedEntity<> all work fine, even if the new class in the same project "Core", so the problem is ABP inheritance.

Does anyone can help me?

Thanks, Alexnaldo Santos

I'm trying to generate a dynamic pdf file and returns a HttpResponseMessage, but the ABP don't return all informations(i.e. content)

How to return a dynamic pdf like using only HttpResponseMessage without any hard disck thecnique?

Question

Hi,

How I can enable audit for all exception ?

The raise an exception but doesn't appear at Logs table.

I understood. I read the sources and others methods uses GetAll() but return Async, so works as expected.

Tks.

Question

Hi,

Why only GetAll() doesn't have a async method?

Thanks.

Showing 1 to 8 of 8 entries