Activities of "holy-expertni-sluzby"

Hello. I hope this is correct place where to send bugs with Studio. Since update to 1.4.0 (and also 1.4.1) I'm missing vertical scrollbar in Solution Runner (Applications). Thank you for returning it back.

Hello maliming, our Controllers in HttpApi project looks like this:

[RemoteService(Name = ServiceARemoteServiceConsts.RemoteServiceName)]
[Area(nameof(ServiceA))]
[ApiController]
[Route("api/service-a/addresss")]
public class AddressController : ServiceAController, AppServices.ServiceA.IAddressAppService
{
    private readonly AppServices.ServiceA.IAddressAppService _addressAppService;

    public AddressController(AppServices.ServiceA.IAddressAppService addressAppService)
    {
        _addressAppService = addressAppService;
    }
    ...
}

and

[RemoteService(Name = ServiceARemoteServiceConsts.RemoteServiceName)]
[Area(nameof(ServiceB))]
[ApiController]
[Route("api/service-b/addresss")]
public class AddressController : ServiceAController, AppServices.ServiceB.IAddressAppService
{
    private readonly AppServices.ServiceB.IAddressAppService _addressAppService;

    public AddressController(AppServices.ServiceB.IAddressAppService addressAppService)
    {
        _addressAppService = addressAppService;
    }
    ...
}

we want to achive that if we make changes only in (for example) ServiceB we're generating (static proxies) just for ServiceB (abp generate-proxy -m ServiceB -t csharp -u https://localhost:44444/ --without-contracts) and because we know that we're not changing anything for ServiceA it's not necessary to generate proxies for it.

We're not satisfied with your AI answer because that means that we should have section RemoteService in ServiceA for ServiceB and that's oposite to what we want to achive. We think that ServiceB should know about ServiceA but not another way.

Thank you.

Hello, I found a problem what was in our shared project where was setting about AdministrationService etc. Sorry and thank you for your asistance! Everything works fine now.

I found out that if I call api/abp/application-configuration endpoint on my MediaService (with mentioned auth token) I get:

"auth": {
    "grantedPolicies": {

    }
  },

but if I call same endpoint (with same auth token) on DatabaseService I get:

"auth": {
  "grantedPolicies": {
    ...
    "FileManagement.DirectoryDescriptor": true,
    "FileManagement.DirectoryDescriptor.Create": true,
    "FileManagement.DirectoryDescriptor.Update": true,
    "FileManagement.DirectoryDescriptor.Delete": true,
    "FileManagement.FileDescriptor": true,
    "FileManagement.FileDescriptor.Create": true,
    "FileManagement.FileDescriptor.Update": true,
    "FileManagement.FileDescriptor.Delete": true
  }

so there must be problem that my MediaService cannot reach my AdministrationService what is handling permissions. But if I compare my appsettings.json in both services they looks similar (in auth parts). Can you please show me what part of code is telling microservice to use Administration service for Permissions handling?

  1. I think I have correct DependsOn:
[DependsOn(
    typeof(MediaServiceDomainSharedModule),
    typeof(AbpDddApplicationContractsModule),
    typeof(AbpAuthorizationModule),
    typeof(FileManagementApplicationContractsModule)
)]
public class MediaServiceApplicationContractsModule : AbpModule
{
}
  1. I'm not sure why should I do: AdministrationService Must Reference Application.Contracts because all other my services are not referenced as well and permissions on them works properly.
  2. Correct Permission Assignment in OpenIddictDataSeeder is correct because I'm using same constants.
  3. Can you please show me how should I MediaService should be configured to use the AdministrationService for permission management ? That's maybe point what I have not set up correctly but I cannot find documentation for that.
  4. I restarted services many times
  5. I cleared cache many times.

Thank you

Showing 1 to 5 of 5 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.