Activities of "liangshiwei"

Answer

Hi,

You can check this: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Navigation-Menu#adding-menu-items

Same with:

var parent = new ApplicationMenuItem("MyProject.Crm", l["Menu:CRM"]);

parent.AddItem(new ApplicationMenuItem(
        name: "MyProject.Crm.Customers", 
        displayName: l["Menu:Customers"], 
        url: "/crm/customers")
);

parent.AddItem(new ApplicationMenuItem(
        name: "MyProject.Crm.Orders", 
        displayName: l["Menu:Orders"], 
        url: "/crm/orders")
);

context.Menu.AddItem(parent);

Hi,

You can try use JsonPropertyNameAttribute

Hi,

I have successfully used HTTPS in Docker.

dockerfile:

FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
COPY . .
ENTRYPOINT ["dotnet", "Qa1586.Web.dll"]

Generate local certificates:

dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\aspnetapp.pfx -p 123456
dotnet dev-certs https --trust

docker run command:

 docker run --name qa -v D:/coding:/var/https -e ASPNETCORE_Kestrel__Certificates__Default__Password=123456 -e ASPNETCORE_Kestrel__Certificates__Default__Path=/var/https/aspnetapp.pfx -e ASPNETCORE_URLS='https://+:443;http://+:80' -p 44320:80 -p 44321:443 qa1586

it works well

Hi,

Can I check it remotely? shiwei.liang@volosoft.com

Hi,

ticket returned.

Hi,

Okay, I will check it out.

Hi,

File management is a feature, you can see the in the saas page.

Make sure your ABP CLI and Suite version is 4.4.0-rc.2

You can see the license code in the appsettings.secrets.json

Hi

What version are you using? can you provide steps to reproduce? thanks

Hi,

You can use the following methods to quickly fix the problem:

public class MyRemoteStreamContentOutputFormatter : OutputFormatter
{
    public MyRemoteStreamContentOutputFormatter()
    {
        SupportedMediaTypes.Add(MediaTypeHeaderValue.Parse("*/*"));
    }

    protected override bool CanWriteType(Type type)
    {
        return typeof(IRemoteStreamContent).IsAssignableFrom(type);
    }

    public override async Task WriteResponseBodyAsync(OutputFormatterWriteContext context)
    {
        var remoteStream = (IRemoteStreamContent)context.Object;
        using (var stream = remoteStream.GetStream())
        {
            if (stream.CanSeek)
            {
                stream.Position = 0;
            }
            await stream.CopyToAsync(context.HttpContext.Response.Body);
        }
    }
}
 Configure<MvcOptions>(options =>
{
    options.OutputFormatters.RemoveType<RemoteStreamContentOutputFormatter>();
    options.OutputFormatters.Insert(0, new MyRemoteStreamContentOutputFormatter());
});
Showing 5731 to 5740 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.