I just downloaded a fresh implementation and got it running using all the defaults, EXCEPT I changed the MultiTenancy
to false
, putting the application into single-tenant mode.
However, when I run the site (localhost:4200
) I cannot login to the HOST, I can only login to the DEFAULT TENANT. The login page does not give me any options for changing (or blanking out) the tenant so that the TenantId
is null on the authorization request.
How do I login to the HOST tenant in single-tenant mode?
Logging in using emails instead of usernames (since they both are admin
).
Trying to login with the email [email protected]
which is the default email for the HOST admin failed.
Logging in with the email [email protected]
which is the default for the DEFAULT TENANT admin worked just fine.
I used the RAD tool to create a new Entity "RealEstate".
The RAD tool does not seem to be creating the <span style="color:#000000">RealEstateServiceProxy</span> class and associated methods like getAll, getRealEstateForEdit, createOrEdit, delete. I assume these should be created in the <span style="color:#000000">service-proxies.ts</span> file.
The RAD tool does update <span style="color:#000000">service-proxy.module.ts</span> and tried to import ApiServiceProxies.RealEstateServiceProxy — but it fails.
Since this solution uses datamaps, there is an issue building or renaming these files on windows.
Windows does not allow certain filenames ([https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx])) ... which includes files named <span style="color:#0000FF">NUL.*</span>
This issue has been raised ([https://github.com/markmarkoh/datamaps/issues/337])), but not resolved.
Can the ASP.NET Zero team create a fix for this issue until it is resolved in the datamaps repo?