Base solution for your next web application

Activities of "ubiquo"

Hi,

I'm trying to limit the number of elements to be shown in a dropdown using bootstrap-select. According to the documentation, there is a size property, but this is not working properly. It appears this was solved by Metronic in its lates version. Could you provide a solution anytime soon?

[attachment=0:3kmyyz6k]bootstrap-select issue.PNG[/attachment:3kmyyz6k]

Thank you.

Hi, I was having trouble to login into a tenant using a subdomain as I mentioned in this post [https://forum.aspnetboilerplate.com/viewtopic.php?p=28437#p28437]).

My settings look like this

"remoteServiceBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Host",
"appBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Angular"
"ServerRootAddress": "http://{TENANCY_NAME}.mydomain.com/Host",
"ClientRootAddress": "http://{TENANCY_NAME}.mydomain.com/Angular"

Host and Angular are sub-website in IIS.

Apparently in the DomainTenantResolveContributor there is a problem matching the host in the request headers and the multitenancy domain format (which is the ServerRootAddress), and because of that I was only able to login with the host users.

var hostName = httpContext.Request.Host.Host.RemovePreFix("http://", "https://");
var domainFormat = _multiTenancyConfiguration.DomainFormat.RemovePreFix("http://", "https://").Split(':')[0];
var result = new FormattedStringValueExtracter().Extract(hostName, domainFormat, true);

if (!result.IsMatch)
{
    return null;
 }

var tenancyName = result.Matches[0].Value;
if (tenancyName.IsNullOrEmpty())
{
   return null;
}

If I remove the sub-website from ServerRootAddress "http://{TENANCY_NAME}.mydomain.com" I'm able to login into any tenant, but I'm not sure if this is the right way to do it.

Is there any problem if I leave the ServerRootAddress without the sub-website?

Showing 1 to 2 of 2 entries