Follow: https://github.com/Azure/azure-signalr/pull/1918
hi
This seems to be a problem with https://github.com/Azure/azure-signalr.
But you can try the code below to fix it.
app.UseAuthorization();
app.Use(async (httpContext, next) =>
{
var authenticateResultFeature = httpContext.Features.Get<IAuthenticateResultFeature>();
if (authenticateResultFeature != null && authenticateResultFeature.AuthenticateResult == null)
{
if (httpContext.User.Identity?.IsAuthenticated == true)
{
authenticateResultFeature.AuthenticateResult = AuthenticateResult.Success(new AuthenticationTicket(httpContext.User, httpContext.User.Identity.AuthenticationType!));
}
}
await next(httpContext);
});
app.UseSwagger();
We will discuss it internally.
There is no Program file in Acme.BookStore.HttpApi.Host
hi
You shouldn't use EF Core in AppService layer.
You can add an interface in the domain and implement it in the EF Core layer. then use the interface in AppService layer.
hi
EF.Property is a static method of EF Core.
https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.ef.property?view=efcore-8.0 https://learn.microsoft.com/en-us/ef/core/modeling/shadow-properties#accessing-shadow-properties
hi
I can't build and run your project. Can you check it?
your zip file has error.
hi alex
Please create a new question, Thanks
hi
https://support.abp.io/QA/Questions/6363/Object-Extension#answer-3a0f8e32-2ac0-ec3a-48f1-7a84e77294c4
https://learn.microsoft.com/en-us/ef/core/modeling/shadow-properties#accessing-shadow-properties