Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ivanosw1"

Hi, I'm testing our service using Postman calls but I can't set the user language neither with cookies nor header. For example, a call to <a class="postlink" href="http://server/AbpUserConfiguration/GetAll">http://server/AbpUserConfiguration/GetAll</a> passing in headers Abp.Localization.CultureName=de reply always on browser culture or default culture if the call is made by c# client. If I use your angular2 app the and I click on some flags, the language is correctly set based on cookies. What I'm missing ?

Thanks

Hi, I'm trying to set up a test project with aspnet core zero v. 3.2.0.0 and abp 1.5. A very very simple test on separate module project gives me the error: No component for supporting the service Abp.AspNetCore.Configuration.IAbpAspNetCoreConfiguration was found.

I've copied from Framework project test the file project.json, and I've created this simple classes:

public class AppTestBase : AbpIntegratedTestBase<MyTestModule>
    {
    }
public classMyTestModule : AbpModule
    {
    }
public class MyTests : AppTestBase
    {

        [Fact]
        public void Shuold_Execute()
        {
            var myValue= 1;
            myValue.ShouldBe(1);
        }
    }

Also your sample project SimpleTaskSystem-Core gives me the same error. What I'm missing ? Thanks

Hi, I have many modules that inherit from ApplicationService and Swagger shows all the methods correctly with parameters, dto and so on. I've added a new file in order to manage files upload, inheriting from AbpController; the methods works but aren't showed by Swagger . I've noted that also yours controller methods like UploadProfilePicture is not showed. There is some settings to view also the AbpController methods in Swagger ?

Thanks

Hi, I don't figure out why I can get the displayname if I use AutoMap, but not if I do the same thing manually. Where is the magic ?

public class MyPermissionDto { public string DisplayName { get; set; }

}  

.....

var permissions = PermissionManager.GetAllPermissions(); var resultz = new List<MyPermissionDto>(); foreach (var rootPermission in permissions) { var flatPermission = rootPermission.MapTo<MyPermissionDto>(); resultz.Add(flatPermission); string thisWorks = flatPermission.DisplayName; string thisNotWorks = rootPermission.DisplayName }

Hi, I have a simple dto input with public int Id {get;set;} public DateTime StartDate {get;set;}

In my angular2 client app I use moment to populate the StartDate with moment(); In server side if the method is Get the date in converted to server time (as you do in GetAuditLogs), but if method si Post the date is parsed as is without consider the time zone and so I have different values.

How Can I use correctly moment and server side datetime management ? I don't need timezone.

Thank you.

Hi, I've a table with IMayHaveTenantId created with some host data. In code I need to get all Host's data plus Tenant's data. This is a simple step: for host query inside a using (unitOfWorkManager.Current.SetTenantId(null)) and after this query for tenant. So far so good.

The problem is when I configure a new Tenant in a second database. When I query for host's data the query is executed against the second database and not where I guess, in the first created host database. This behaviour forces me to duplicate host data for every separated tenant database (and keep them in sync). There is a workaround in order to have only a single source of host's data ?

Thank you. Ivano

Hi, I've developed a plugin module that is successfully loaded by Abp. (dotnetcore) I made a different dbcontext and I can use IRepository<myentity> and also IRepository<RolePermisionSetting>, but I'm unable to use IRepository<Role> . There is alway an error of DI. How can I use in my outer module all the security/admin stuff of abp.zero ?

Thanks

Hi, The scenario is:

[AbpAuthorization('MakeThisMyRootThing')] public void MakeThisMyRottThing { ... do something var infos =ReadPrivateInfo(); ... do something }

[AbpAuthorization('ReadPrivateInfo') public List<Ino> ReadPrivateInfo { return new list<Info>(); }

I wondering how grant a user only one root permission, eg MakeThisMyRootThing, and allow this method to call all other protected methods (potentially written by third person like Abp) without remove the permission. This is usefull when I want to grant a permission to a process and not to every single call chain, but some of the chain methods may be called individually and so the permission is needed.

Thanks, Ivano

Hi,

I'm not able to make google authentication work. I've configured oAuth2 url and redirect url to <a class="postlink" href="http://localhost:4200">http://localhost:4200</a> in console developer.

In console log after a successful login, I've this error: Uncaught TypeError: Cannot read property '_tokenAuthService' of undefined at webpackJsonp.1501.LoginService.googleLoginStatusChangeCallback (login.service.ts:260) at Function.<anonymous> (cb=gapi.loaded_0:154) at MessagePort.c.port1.onmessage (cb=gapi.loaded_0:72)

Any idea?

Thanks

Showing 51 to 59 of 59 entries