Activities of "liangshiwei"

Hi,

Can you share the project with me? shiwei.liang@volosoft.com, I will check it out. I think this can save you time.

Sorry, I am missing a verb.

You can remove the UpstreamHttpMethod to allow any verbs:

{
    "ServiceKey": "Signalr Service",
    "DownstreamPathTemplate": "/signalr-hubs/{everything}",
    "DownstreamScheme": "wss",
    "DownstreamHostAndPorts": [
    {
    "Host": "localhost",
    "Port": 44361
    }
    ],
    "UpstreamPathTemplate": "/signalr-hubs/{everything}"
}

Hi,

The project you shared also works for me. VS version: 17.6.2 XCode version: 14.3

I think the problem is related to your development environment.

My email is shiwei.liang@volosoft.com

Hi,

Can you share the project with me? I will check it out

Update the gateway config file:

{
    "ServiceKey": "Signalr Service",
    "DownstreamPathTemplate": "/signalr-hubs/{everything}",
    "DownstreamScheme": "wss",
    "DownstreamHostAndPorts": [
    {
    "Host": "localhost",
    "Port": 44361
    }
    ],
    "UpstreamPathTemplate": "/signalr-hubs/{everything}",
    "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
},

Try:

app.UseSwaggerUI(options =>
{

    var configuration = context.ServiceProvider.GetRequiredService<IConfiguration>();
    var routes = configuration.GetSection("Routes").Get<List<OcelotConfiguration>>();
    var routedServices = routes
        .GroupBy(t => t.ServiceKey)
        .Select(r => r.First())
        .Distinct();

    foreach (var config in routedServices.OrderBy(q => q.ServiceKey))
    {
        if (config.DownstreamHostAndPorts != null && config.DownstreamScheme != "wss")
        {
            var url = $"{config.DownstreamScheme}://{config.DownstreamHostAndPorts.FirstOrDefault()?.Host}:{config.DownstreamHostAndPorts.FirstOrDefault()?.Port}";
            if (!env.IsDevelopment())
            {
                url = $"https://{config.DownstreamHostAndPorts.FirstOrDefault()?.Host}";
            }
            options.SwaggerEndpoint($"{url}/swagger/v1/swagger.json", $"{config.ServiceKey} API");
        }
        options.RoutePrefix = string.Empty;
        options.OAuthClientId(configuration["AuthServer:SwaggerClientId"]);
    }
});

Hi,

It's just an example; you should replace the builder.Configuration["RemoteServices:Chat:BaseUrl"]; with the real URL.

Gateway URL or Product service URL.

This is a typo: iopeniddict

Hi,

You should write this in the Blazor app.

and should i update anything in app settings of Product service?

No, you don't.

Could not find VoloChatAvatarManager.createCanvasForUser

You can try running the abp bundle command in the Blazor app folder.

Showing 3791 to 3800 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 November 04, 2025, 06:41