Hello maliming ,
Thanks for your response. I am able to check tenant if not available and redirect if not available but i am getting error in angular side when tenant is not available. see below screenshot.
It may be because of if tenant not available system not return any json and in frontend side system parsing the result in XHR request. I am able to solve it by try catch. Check below code and Please suggest if any better way to solve it.
xhr.onreadystatechange = () => {
if (xhr.readyState === XMLHttpRequest.DONE) {
if (xhr.status === 200) {
let result;
try {
result=JSON.parse(xhr.responseText);
} catch (e) {
window.location.href = xhr.responseURL;
}
success(result);
}else if (xhr.status !== 0) {
alert(abp.localization.localize('InternalServerError', 'AbpWeb'));
}
}
};
Any other suggestion to sove it?
Hello,
Tenant availability is not checked with subdomain as tenancy name. When I try with this link http://tenantname.domain.com if tenant is not available system assumes this as host tenant or take tenant id as null, even it not redirect the host tenant like http://host.domain.com or nor redirect any error page.
We want to check first tenant availability and then display the login page or application, if tenant is not available redirect to the error page. I also this thing on your demo application.
http://tenantnotavailable.demo.aspnetzero.com/account/login
How we can setup it? Any suggestion with this approach?
Thanks in advance.
Hey, I have requirement to implement hangfire in my existence code.can you help me where can i find document?
Thanks SRTMdev
@maliming,
you solution not worked for me
Is there any restriction in demo project where we unable to publish in IIS or unable to access using public IP Address even after we changed in appsettings.json and appsettings.Production.json. we are able to publish project successfully in IIS using localhost but if changed it to ip address then error "No 'Access-Control-Allow-Origin' header is present" is coming. Can your team check is there any step I missed which cause this issue?
Hello Team,
Thanks for immidiate reply. Your suggested solution works.
I have also checked where as it is commented that this issue has been covered in v6.8 relase. Can you let us know when we can aspect v6.8 will be release?
Thanks, Srtmdev Team (JP)
Hello Team,
I am new customer. I have downloaded new ASP.NET Core+Angular demo project using "Generate your project" facility. I can able to compile both ASP.NET Core and Angular project. Now whever I am first time login to application using login form there is loader display during login which is remain there and not hide after successfully login. Can your team check is there any step I missed which cause this issue?