Ends in:
7 DAYS
15 HRS
36 MIN
30 SEC
Ends in:
7 D
15 H
36 M
30 S
Open Closed

Microservices: Domain Tenant Resolver / CustomTenantResolver #4685


User avatar
0
Stloby created
  • ABP Framework version: v7.1.0-rc.2
  • UI type: Blazor server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:Standard abp suite microservice templates & app template"

Hello,

  1. Regarding the usage of CustomTenantResolver for my SaaS Solution. I would like to know if it is possible to implement it in a microservice service template similar to the approach described in this blog post: https://blog.antosubash.com/posts/abp-extend-tenant-with-custom-host.

Alternatively, the DomainTenantResolver as demo'd by Halil presented at DNF Summit January. Can this approach be seamlessly integrated into a microservice service solution?

I would greatly appreciate any guidance on how to proceed with both of these options.

  1. Is source code for https://commercial-demo.abp.io/ available?

  2. How do i enable comments on the template sample? Currently getting "The entity SampleArticle is not commentable." from the public web of app template.


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    we have a sample to use Domain Tenant Resolver , I think it will work for microservice as well, you can take a look first.

    https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

  • User Avatar
    0
    Stloby created

    Will do and revert, thank you!

    Is source code for https://commercial-demo.abp.io/ available?

    How do i enable comments on the template sample? Currently getting "The entity SampleArticle is not commentable." from the public web of app template.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Is source code for https://commercial-demo.abp.io/ available?

    No.

    How do i enable comments on the template sample? Currently getting "The entity SampleArticle is not commentable." from the public web of app template.

    Are you talking about CMS-KIT? What are the steps to reproduce this?

  • User Avatar
    0
    Stloby created

    Is source code for https://commercial-demo.abp.io/ available?

    No.

    How do i enable comments on the template sample? Currently getting "The entity SampleArticle is not commentable." from the public web of app template.

    Are you talking about CMS-KIT? What are the steps to reproduce this?

    Yes, just create a new app-pro blazor server template via suite. It comes with SampleArticle. How do i enable comments for it?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Configure<CmsKitCommentOptions>(options =>
    {
        options.EntityTypes.Add(new CommentEntityTypeDefinition("SampleArticle"));
    });
    

    https://docs.abp.io/en/abp/latest/Modules/Cms-Kit/Comments

  • User Avatar
    0
    Stloby created

    hi

    Configure<CmsKitCommentOptions>(options => 
    { 
        options.EntityTypes.Add(new CommentEntityTypeDefinition("SampleArticle")); 
    }); 
    

    https://docs.abp.io/en/abp/latest/Modules/Cms-Kit/Comments

    Comments - worked thank you!

    Please give me time to test the DomainTenantResolver on both the app and microservices before we close the ticket.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Sure.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06