Hi,
Here are two ways:
1
Install the saas domain and entityframeworkcore packages. Set the connection string to read tenant data from the Monalite database: https://docs.abp.io/en/abp/latest/Connection-Strings#configuring-the-database-structures
"ConnectionStrings": {
"Saas": "Server=localhost;Database=MyMainDb;Trusted_Connection=True;"
}
2
Load the tenant data from the remote service(SupplierEvaluation > gateway > Monalite)
You need to install the Volo.Abp.AspNetCore.Mvc.Client package, it provides the MvcRemoteTenantStore class
SupplierEvaluation project.{
"RemoteServices": {
"Default": {
"BaseUrl": "http://localhost:53929/" (gateway)
}
}
}
{
"ServiceKey": "Multi-tenancy Service",
"DownstreamPathTemplate": "/api/abp/multi-tenancy/{everything}",
"DownstreamScheme": "https",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 44367 (Monalite)
}
],
"UpstreamPathTemplate": "/api/abp/multi-tenancy/{everything}",
"UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
},
Hi,
This feature is available from 7.0: https://github.com/abpframework/abp/issues/13613
A connection attempt failed because the connected party did not properly respond after a period of time,or established connection failed because connected host has failed to respond
It looks like your email configuration is wrong.
You can use the example to check your email config: https://github.com/abpframework/abp-samples/blob/master/EmailSendDemo/src/EmailSendDemo/Program.cs
Hi,
I will check it
Hi,
According to my understanding:
You can use the JWT to get tenant owner data from Monalite but not SupplierEvaluation.
What's the result if you output the ICurrentTenant.Id in the SupplierEvaluation project?
Hi,
We are aware of this issue, I will try to fix it, and your ticket refunded.
Hi,
The problem was fixed in the 2.0.x version. You can upgrade your project
Hi,
With Contracts generate all the classes/enums/other types in the client side (including application service interfaces) , This is also the default behavior of the generate-proxy command.
There is no problem and the MyClientapp should add project references Application and MyApplication.Http.Client.
it will generate all needed classes(Dtos, Interfaces, Proxies)
Hi,
I misunderstood the message earlier.
And I ask the ABP team:
So, the AbpLicenseCode need always exists
Hi,
I think you are still running in the development environment.
You can check the Microsoft document:https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/environments?view=aspnetcore-7.0