Base solution for your next web application
Open Closed

Custom module tenancy manager (based on samples.blog) #517


User avatar
0
byteplatz created

Hello Halil,

I am studying the Abp.Samples.Blog solution and I can see that you have created specific classes for authorization and authentication (BlogTenant, BlogUser ...).

Is that a required or recommended approach ?

What are the odds regarding sharing the MainApp.Core Project as nuget packages and install it to Samples.Blog.Core ? Do you see any problems or considerations ?

I Would love to know the caveats under each implementation!

Cheers

Bruno Bertechini


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    BlogTenant, BlogUser.. are created because AbpTenant and AbpUser classes are abstract and we must use non abstract entities. Surely, you can implement AbpTenant and AbpUser (and AbpRole) in a shared dll and use it over Nuget.

    Have a nice day.

  • User Avatar
    0
    byteplatz created

    The problem is I cant make it work either with shared dll (tenant/role/user) or specific when using 0.7.4.1.

    I have posted a new question regarding this while I have Exceptions when logging in because two contexts were addded.

    This does not happen with 0.6.4.1

    Would you please investigate? I mean, can you update the sample blog module with 0.7.4.1 and make sure the Data module is working fine in main app ?

    Bruno