hi
Can you try to run abp bundle command to generate the global.js and global.css files?
hi
Can you try to remove the SignatureValidator?
SignatureValidator = delegate (string token, TokenValidationParameters parameters)
{
var jwt = new JwtSecurityToken(token);
return jwt;
},
and add a middleware to output the request header info?
app.UseCookiePolicy(new CookiePolicyOptions
{
MinimumSameSitePolicy = SameSiteMode.None,
Secure = Microsoft.AspNetCore.Http.CookieSecurePolicy.Always
});
app.Use(async (httpContext, next) =>
{
var logger = httpContext.RequestServices.GetRequiredService<ILogger<eFCWebModule>>();
var requestInfo = httpContext.Request.Headers
.Select(header => header.Key + " : " + header.Value)
.ToList();
logger.LogError("Request Info: {RequestInfo}", string.Join(", ", requestInfo));
await next();
});
app.UseAuthentication();
app.UseJwtTokenMiddleware();
``
hi
Whenever http call is 204 response instead of 200 response?
Can you share the logs of this HTTP call?
hi
What are the versions of the Blazorise and Lepton packages?
They should be as follows:
<PackageReference Include="Blazorise.Bootstrap5" Version="1.4.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.4.1" />
<PackageReference Include="Blazorise.Components" Version="1.4.1" />
<PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.1.*-*" />
hi
Please check the app logs, It may contain the details info.
You can set the log level to Debug to see more logs.
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
hi
Please run the following commands
abp clean
dotnet build
And share your csproj file of Blazor
Thanks.
hi
The nuget may have cache. You can try to run the command again or update the packages manually.
I have refunded your ticket.
Thanks
hi Move to https://support.abp.io/QA/Questions/7356/Strange-icon-appear-after-upgraded-to-813
hi
Please make your repository PRIVATE and invite https://github.com/maliming as a contributor.
Thanks.