Activities of "maliming"

@inherits Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ErrorView
@attribute [Dependency(ReplaceServices = true)]
@attribute [ExposeServices(typeof(Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ErrorView))]
@using Microsoft.Extensions.Localization
@using global::Localization.Resources.AbpUi
@using Volo.Abp.DependencyInjection
@inject IStringLocalizer<AbpUiResource> L
<div class="error-page-container">
    <Row>
        <Column ColumnSize="ColumnSize.IsAuto">
            <div class="status-icon">
                <i class="fa fa-frown-o text-danger" aria-hidden="true"></i>
                <span></span>
            </div>
        </Column>
        <Column>
            <div class="status-content">
                <h1>@HttpStatusCode</h1>
                <h1>test</h1>
                <h2 class="text-danger mb-0">@Title</h2>
                <p class="mt-3 mb-4">@Message</p>
                <a href="/" class="btn btn-primary">@L["GoHomePage"]</a>
            </div>
        </Column>
    </Row>
</div>

I'm checking the solution of the blazor server.

hi

You can use AsNoTracking to improve performance.

https://www.c-sharpcorner.com/UploadFile/ff2f08/entity-framework-and-asnotracking/

Change the log level to see ef logs

        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();

hi

Can you share an online website URL to show this problem?

liming.ma@volosoft.com

hi

HTTP 500

Please check your app logs(Logs.txt)

hi

Please rename the file name as well.

ok, Can you share some screenshots? we are trying to understand the problem.

hi

private void ConfigureBundles()
{
    Configure<AbpBundlingOptions>(options =>
    {
        // MVC UI
        options.StyleBundles.Configure(
            LeptonXThemeBundles.Scripts.Global,
            bundle =>
            {
                bundle.AddFiles("/global-script.js");
            }
        );
    });
}
$(function () {
    $(".lpx-login-sm-logo").height(100)
    //...
});

It works for me.

hi

AddDevelopmentEncryptionCertificate

AddDevelopmentEncryptionAndSigningCertificate cannot be used in applications deployed on IIS or Azure App Service: trying to use them on IIS or Azure App Service will result in an exception being thrown at runtime (unless the application pool is configured to load a user profile). To avoid that, consider creating self-signed certificates and storing them in the X.509 certificates store of the host machine(s). Please refer to: https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html#registering-a-development-certificate

You can create a latest(7.1) project to see below code.

dotnet dev-certs https -v -ep authserver.pfx -p 2D7AA457-5D33-48D6-936F-C48E5EF468ED

    if (!hostingEnvironment.IsDevelopment())
    {
        PreConfigure<AbpOpenIddictAspNetCoreOptions>(options =>
        {
            options.AddDevelopmentEncryptionAndSigningCertificate = false;
        });

        PreConfigure<OpenIddictServerBuilder>(builder =>
        {
            builder.AddSigningCertificate(GetSigningCertificate(hostingEnvironment, configuration));
            builder.AddEncryptionCertificate(GetSigningCertificate(hostingEnvironment, configuration));
            builder.SetIssuer(new Uri(configuration["AuthServer:Authority"]));
        });
    }
    
    private X509Certificate2 GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration)
    {
        var fileName = "authserver.pfx";
        var passPhrase = "2D7AA457-5D33-48D6-936F-C48E5EF468ED";
        var file = Path.Combine(hostingEnv.ContentRootPath, fileName);

        if (!File.Exists(file))
        {
            throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
        }

        return new X509Certificate2(file, passPhrase);
    }
``
Showing 8651 to 8660 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.