Activities of "maliming"

When I need to open up this project code to company partners,

In this case, you need to add a new developer.

but this account cannot use abp suite.

There is no such feature now.

Please reopen if you have another problem.

hi

<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>

https://github.com/abpframework/abp/pull/12401

hi

We will make the FileManagement module can be extended.

eg call ConfigureElsa in MyCompanyName.MyProjectName.IdentityService.HttpApi.Host then you can use IWorkflowInvoker in MyCompanyName.MyProjectName.IdentityService.Application

Please check the dependencies between your modules.

hi

Your ConfigureElsa in the MicroServiceDemoWebModule

and MicroServiceDemoWebModule depends on ProductServiceWebModule that's the way you can inject the IWorkflowInvoker

but the application doesn't call ConfigureElsa

hi

I tried, It works as expected.

Maybe this is related to the Redis.

Can you check?

ok

hi

Configure<Microsoft.AspNetCore.Mvc.JsonOptions>(options =>
{
    options.JsonSerializerOptions.Converters.Add(new UpdateProfileDtoConverter());
});


using System;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using Volo.Abp.Account;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;

namespace Acs.Cts.Portal;

public class UpdateProfileDtoConverter : JsonConverter<UpdateProfileDto>, ITransientDependency
{
    private JsonSerializerOptions _readJsonSerializerOptions;

    private JsonSerializerOptions _writeJsonSerializerOptions;

    public override UpdateProfileDto Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    {
        _readJsonSerializerOptions ??= JsonSerializerOptionsHelper.Create(options, this);

        var rootElement = JsonDocument.ParseValue(ref reader).RootElement;

        var obj = rootElement.Deserialize<UpdateProfileDto>(_readJsonSerializerOptions);

        var extraProperties = rootElement.EnumerateObject().Where(x => x.Name.StartsWith("extraProperties[", StringComparison.OrdinalIgnoreCase)).ToList();
        foreach (var extraProperty in extraProperties)
        {
            var x = extraProperty.Name.IndexOf("[", StringComparison.InvariantCultureIgnoreCase);
            var y = extraProperty.Name.Length - 2 - x;
            if (x <= 0 || y <= 0)
            {
                continue;
            }

            var key = extraProperty.Name.Substring(x + 1, y);
            var value = extraProperty.Value.GetString();

            obj.SetProperty(key, value);
        }

        return obj;
    }

    public override void Write(Utf8JsonWriter writer, UpdateProfileDto value, JsonSerializerOptions options)
    {
        _writeJsonSerializerOptions ??= JsonSerializerOptionsHelper.Create(options, this);
        JsonSerializer.Serialize(writer, value, value.GetType(), _writeJsonSerializerOptions);
    }
}

Showing 8231 to 8240 of 10635 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.0.0-preview. Updated on September 10, 2025, 06:30