No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.
and your other topic RedirectResult Causes Server Error:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
To allow CORS, see:
ABP (and ASP.NET Zero) uses Microsoft.AspNetCore.Http.Authentication's AuthenticationManager.SignInAsync method and AuthenticationProperties.IsPersistent property.
See this explanation on Stack Overflow:
Persistent cookies will be saved as files in the browser folders until they either expire or manually deleted. This will cause the cookie to persist even if you close the browser.
If IsPersistent is set to false, the browser will acquire session cookie which gets cleared when the browser is closed.
Now the reason session cookie wont clear after restarting the browser is because of chrome default settings. To fix it go to chrome settings -> advanced, and uncheck Continue running background apps when Google Chrome is closed under System section.
PR: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/pull/508">https://github.com/aspnetzero/aspnet-zero-core/pull/508</a>
Here's the EntityFramework equivalent for documentation on Custom Repositories: https://aspnetboilerplate.com/Pages/Documents/EntityFramework-Integration#DocCustomRepositoryMethods
You can add Microsoft.AspNetCore.Mvc.Core safely. Application project doesn't require that unless you want to configure web-specific attributes.
See: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2505#issuecomment-329506225.
Can you show your AppService? Remember to add the methods to your interface too.
Did you set Default Project to EntityFrameworkCore in package manager console?
I'm not sure if wildcard connection strings are valid. Try localhost\sql_sauron. I also suggest you hide the password in the commented line (even if it's invalid).
Can you try resolving the interface ITenantCustomizationAppService instead of the class?