You can implement your own DomainTenantResolveContributor and handle in tenantInfo == null.
But 505 HTTP Version Not Supported is not an appropriate error. Maybe you meant 404 Not Found.
You need to cascade soft deletes yourself. Related issue: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1992
Did you click on the link to Bundler & Minifier Visual Studio extension?
Since you're in a unit of work that began without a tenant, you need to set that as well.
using (_session.Use(tenantId.ToInt(), userId.ToInt()))
{
using (_unitOfWorkManager.Current.SetTenantId(tenantId.toInt()))
{
await _shopifyManager.ValidateAndInstallHook(shop, code);
}
}
Bundling, Minifying and Compiling: https://aspnetzero.com/Documents/Development-Guide-Core#bundling-minifying-and-compiling
ASP.NET Zero uses (https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier:fn82npzp/) for bundling & minifying script and style files. It should be installed in your Visual Studio. [b:fn82npzp]bundleconfig.json file defines all bundling configuration.
*.Web.Mvc/bin/App_Data/Logs
Check your error log.
Something like this:
[AbpMvcAuthorize]
[HttpPost]
public async Task<AuthenticateResultModel> StayAlive()
{
// Validation, if any.
await Task.CompletedTask;
var accessToken = CreateAccessToken(CreateJwtClaims(User.Identity));
return new AuthenticateResultModel
{
AccessToken = accessToken,
EncryptedAccessToken = GetEncrpyedAccessToken(accessToken),
ExpireInSeconds = (int)_configuration.Expiration.TotalSeconds
};
}
There are no side effects.
rvanwoezik's workaround will work.
This was a regression in EF Core 2.0 and should be fixed in EF Core's next patch. See: https://github.com/aspnet/EntityFrameworkCore/issues/9704