It should be the URL
of your website.
You may use localhost and a domain(external url) for your websites.
eg: localhost, abp.io
This value should uses the external URL(abp.io)
我检查了, 还是HTTPS的问题, 如果你需要分层模版的原因, 你可以把API网站的IdentityModel日志级别改成Verbose
, 然后重新发布到IIS, 重新登录并分享日志(identitymodel.txt).
谢谢
public class Program
{
public async static Task<int> Main(string[] args)
{
IdentityModelEventSource.ShowPII = true;
IdentityModelEventSource.Logger.LogLevel = EventLevel.Verbose;
var wilsonTextLogger = new TextWriterEventListener("Logs/identitymodel.txt");
wilsonTextLogger.EnableEvents(IdentityModelEventSource.Logger, EventLevel.Verbose);
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.CreateLogger();
你好 请把三个网站的日志文件发送到 liming.ma@volosoft.com
谢谢
ok, Thanks. I will check it asap.
hi
I got your point.
You have to program to implement it, because the default MultiTenantConnectionStringResolver/DefaultConnectionStringResolver
cannot determine the current situation, it can only return the default connection string.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs#L32
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Data/Volo/Abp/Data/DefaultConnectionStringResolver.cs#L29-L44
Can I check it remotely?
You can join zoom and share your screen.
Thanks https://us05web.zoom.us/j/85168939409?pwd=kcvNAdPxtvVlFdbCYgaOA3GTEg4aRE.1
hi
But we can specify an alternate connection string for the tenant upon creation and that works as intended
What do you mean by that? Can you describe it?
Thanks
Even if you use plain asp net core web application you need to solve the HTTPS problem. It has nothing to do with abp.
https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-8.0&tabs=visual-studio%2Clinux-ubuntu#require-https