Open Closed

URL forwarding system doesn't work in tiered application #3231


User avatar
1
huseyinalan created

Hello, i want to use url forwarding system.
I followed the steps given in the docs (https://docs.abp.io/en/commercial/5.2/modules/cms-kit/url-forwarding)
but i got exception in tiered application.

I created new application and tried again, didn't work also.

  • ABP Framework version: v5.2.2

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

image.png


5 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

    I will check this. : )

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It seems the issue has been fixed.

    Can you reproduce problem and share the project with me?

    liming.ma@volosoft.com

  • User Avatar
    0
    huseyinalan created

    Hi,
    i shared project with you.

    Can you check mailbox?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Add these code to the web.public project.

    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        var serviceType = typeof (CmsKitProPublicApplicationContractsModule).Assembly.GetTypes().FirstOrDefault(x => x == typeof(IUrlShortingPublicAppService));
        if (serviceType != null)
        {
            context.Services.Configure<AbpHttpClientOptions>(options =>
            {
                options.HttpClientProxies[serviceType] = new HttpClientProxyConfig(serviceType, "CmsKitProPublic");
            });
        }
    }
    
  • User Avatar
    0
    huseyinalan created

    Thanks, solved my problem.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 18, 2025, 10:42