Activities of "alper"

To solve the issue; make requiresNew: false in two _unitOfWorkManager.begin methods

basically you can save all the generated tokens in a database table, when a new request comes, you'll query the database did you try this https://stackoverflow.com/questions/36151800/asp-net-mvc-identity-securitystamp-signout-everywhere

I see that your Microservice project uses SQL your main project uses PostgreSQL. And both of them uses the same dbcontext. it'll not work this way.

why do you need authorization? extract the running code part from AppService and move it to a DomainService. then call the domain service method in your handler. And also use it in your AppService as well.

hi I got your project. let's check if it works

hi,

Response status code does not indicate success: 401 (Unauthorized).

it seems like you didn't login via ABP CLI. 1- Ensure that , ABP Commercial NuGet Source is added to your package sources with your valid API KEY (you can copy from a downloaded project)

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" />
    <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/<YOUR-API-KEY>/v3/index.json" />
  </packageSources>
</configuration>

2- Login via ABP CLI where you run this project.

abp login <username> -p <password>

anybody can send me a reproducable project? delete all bin obj folders and send it to info@abp.io with this question link

when you login manually is it working?

try

private readonly ICurrentTenant _currentTenant;

 private async Task DoWorkAsync()
        {

            using (_currentTenant.Change(new Guid("xxxxxxxxx")))
            {
                using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: false))
                {
                    //.............
                    await uow.CompleteAsync();
                }
            }
        }

we don't have such a tool. you need create a new module with Suite and move your existing files to the new empty module.

see also https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice

Showing 801 to 810 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54