Activities of "EngincanV"

I think the best way is from the current database we will create a new one to get the data to be compatible with the structure of mongo v3 but it will be a bit complicated. I wonder if there is a better solution?

Actually, if you are building your application relatively new and your data is not important at the point, it's the easiest way as you said. If you need another solution, I need to know more details such as properties in the related entity, your custom implementation if there is any, etc.

Please help me. Because I tried the same as you but completely different.

  • volo.abp.leptonxtheme.management.domain.shared not found
  • Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX is available

Hi @nguyendigital, thanks for reporting the problem. We have published the related NuGet packages; however, we should have configured them on our side to let our customers use them. Now, we made the necessary change, and you should be able to access to the related NuGet packages.

Please let me know about the status. Your ticket has been refunded btw. Regards.

Thank you. It worked

Great to hear that. Regards.

I wander how this line works serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "00000000-0000-0000-0000-000000000000"); since this openiddict.pfx file is ignored from git (i.e: it doesn't exist on ther server)!!!

Hi, you can remove it from .gitignore if you wish or run the following command on your server to have this file:

dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000

https://abp.io/docs/latest/deployment/configuring-openiddict

Hi, EngincanV We are blocked with our solution due to this issue. Any updates on this?

Hi, I got your solution. But haven't had time to examine it yet. I'll check it asap.

Hi, the package Volo.Abp.Studio.Extensions.StandardSolutionTemplates is used by ABP CLI and ABP Studio to provide solution templates. Are you trying to install it manually? It's recommended to let ABP Studio CLI or GUI handle the installation for you. (This is not a package that can be used in your own applications)

I initially tried running the CLI tool to create a new tiered MVC solution and the error was thrown. I then checked via a manual install in VS Studio and was unable to install the package due to a missing nuspec file. It seems ABP Studio was unable to install the package by itself.

Okay, thanks for the explanation. Can you please try to clear your NuGet cache locally (by using the below command) and then try to open ABP Studio, or run an ABP CLI command?

dotnet nuget locals all --clear  

ABP Studio CLI & GUI, uses the local cached NuGet package to seamlessly work. So, clearing the cache and re-installing the extension probably will fix this problem.

Thank you - this resolved the issue.

Great to hear that. Regards.

okay i think i have found the problem but i need a solution for my case. this error happens because i removed JsonSerializer Converters that is type of ObjectToInferredTypesConverter to use IAsyncEnumerable from my controllers.

 private void ConfigureJsonSerializerForAsyncEnumarable(ServiceConfigurationContext context, IConfiguration configuration) 
    { 
        context.Services.Configure<JsonOptions>(options => 
        { 
            options.JsonSerializerOptions.Converters.RemoveAll(x => x.GetType() == typeof(ObjectToInferredTypesConverter)); 
        }); 
    } 

i need to keep this code since i need to serialize json responses asynchronously from my controller. But this is effecting the validations in extra properties.

Is there any other way that i can have both of the worlds.

Hi, you may create a new a custom JsonConverter for IAsyncEnumerable like the below:

using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace YourNamespace;

public class AsyncEnumerableConverter : AsyncEnumerableConverter<object>
{
    
}

public class AsyncEnumerableConverter<T> : JsonConverter<IAsyncEnumerable<T>>
{
    public override IAsyncEnumerable<T> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    {
        throw new NotSupportedException("Reading IAsyncEnumerable from JSON is not supported.");
    }

    public override void Write(Utf8JsonWriter writer, IAsyncEnumerable<T> value, JsonSerializerOptions options)
    {
        writer.WriteStartArray();
        var enumerator = value.GetAsyncEnumerator();
        try
        {
            while (enumerator.MoveNextAsync().GetAwaiter().GetResult())
            {
                JsonSerializer.Serialize(writer, enumerator.Current, options);
            }
        }
        finally
        {
            enumerator.DisposeAsync().AsTask().GetAwaiter().GetResult();
        }
        writer.WriteEndArray();
    }
}

Then without removing ObjectToInferredTypesConverter instead add the new jsonconverter by configuring the JsonOptions:

context.Services.Configure<JsonOptions>(options =>
{
    options.JsonSerializerOptions.Converters.Add(new AsyncEnumerableConverter());
    // You should NOT have the line that removes ObjectToInferredTypesConverter here anymore
});

Please let me know, if it fixes your problem or not. Regards.

Hi, it seems in your App.razor file (under Components folder), you should set base as follows (update the related base tag's href):

<base href="/Session/Onboarding/" />   

The <base> HTML element specifies the base URL to use for all relative URLs in a document. There can be only one <base> element in a document. Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

Thanks for the reply. It got me part of the way there. When I inspect the site in the dev tools, I find this (anonymized):

<base href="https://example.com/Session/Onboarding/"/> 
        <link rel="stylesheet" href="/__bundles/Blazor.LeptonXTheme.Global.CAA2ECE4806C50A68D939A44E6A93296.css"/> 
        <!--Blazor:{"type":"server","prerenderId":"f4d6a03ab97348018c0d875fcf169a80","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:13","formattedComponentKey":""},"sequence":0,"descriptor":"CfDJ8ITznUnAEA5LhmAaoLF2zWfBOj\u002BTmLcQNghn9qm/WEkxl3OpTBOO6ZDruOFDaqWoOKL8an9rpsMvWgg/aiWQjqkCyf3OCYBnfCLgdFa6aPeAx0I40P6A95FBBS86w9KjLAWsyFARSg5FiQPJD84789OQdlYXq/1rSf0zkgWLsbvmhEG3G2Gua2q5gBPPKFuLLx7/nc2IiquJsyGMN7Kw6uN7ZGIyw8T0tNw2xkI0CLeACiNU5vcWlW5bq\u002BAiQs/QmrasxbpD8rZfafF0ptPquegF8YgnQG9gtpS3b6NLoWdKiOyqxM3x3gbIv/ngKt2ASzONfw7xu\u002Be4sKMbmLeyF7dq6VrNMdFiP23TcExs5mZiVhtaOv93hQXnxcbawYllFv/ReFFBIbfNfObVG\u002By0iRQK2J3hw2h1ty/5EZkVJ1beh3lCkEPNU9aLaMbtJVj/qZB7Hvwnoa0/AiZpmLsktPDVjmprPwetvRNInS5Z1szCbiwBaBEeGtQsuIQK4HwfUzSSs3DLybbhO0lOWLpj3ktHhU90/jVpueJg9Vg55xs1zLeySaLb19mpBPCsN2RevENRafuomXcYbv8bpzs9O9M="}--> 
        <!--Blazor:{"prerenderId":"f4d6a03ab97348018c0d875fcf169a80"}--> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/bootstrap-dim.css" type="text/css" rel="stylesheet" id="lpx-theme-bootstrap-dim"/> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/dim.css" type="text/css" rel="stylesheet" id="lpx-theme-color-dim"/> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/layout-bundle.css" type="text/css" rel="stylesheet" id="lpx-layout-bundle"/> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/abp-bundle.css" type="text/css" rel="stylesheet" id="lpx-abp-bundle"/> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/blazor-bundle.css" type="text/css" rel="stylesheet" id="lpx-blazor-bundle"/> 
        <link href="_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/font-bundle.css" type="text/css" rel="stylesheet" id="lpx-font-bundle"/> 
        <link rel="stylesheet" href="/global-styles.css"> 

Most of these references work now. But consider the Blazor.LeptonXTheme.Global CSS file. Its URL begins with /, meaning that the browser won't use the <base> tag in determining which URL to request. (global-styles.css also has this issue, but because it's referenced directly in App.razor it's a simple fix.

At the end of the generated HTML the same problem occurs:

<script src="/__bundles/Blazor.LeptonXTheme.Global.1F883E5288FF593E79FDC82FAD923D8A.js"></script> 

So, how can I adjust the URLs that LeptonX stuff comes from?

Hi, you are deploying to IIS, right? You may add a rewrite rule to the web.config file:

<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="Rewrite LeptonX Bundles" stopProcessing="true">
          <match url="^__bundles/(.*)$" />
          <action type="Rewrite" url="/Session/Onboarding/__bundles/{R:1}" />
        </rule>
        <rule name="Rewrite global-styles.css" stopProcessing="true">
          <match url="^global-styles.css$" />
          <action type="Rewrite" url="/Session/Onboarding/global-styles.css" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>

Can you please, try this approach and let me know if it fixes your problem or not?

Regards.

Hi, the package Volo.Abp.Studio.Extensions.StandardSolutionTemplates is used by ABP CLI and ABP Studio to provide solution templates. Are you trying to install it manually? It's recommended to let ABP Studio CLI or GUI handle the installation for you. (This is not a package that can be used in your own applications)

I initially tried running the CLI tool to create a new tiered MVC solution and the error was thrown. I then checked via a manual install in VS Studio and was unable to install the package due to a missing nuspec file. It seems ABP Studio was unable to install the package by itself.

Okay, thanks for the explanation. Can you please try to clear your NuGet cache locally (by using the below command) and then try to open ABP Studio, or run an ABP CLI command?

dotnet nuget locals all --clear

ABP Studio CLI & GUI, uses the local cached NuGet package to seamlessly work. So, clearing the cache and re-installing the extension probably will fix this problem.

Hi, I've checked and reproduced the problem. Indeed the specified tests are failing, this is weird to see that because we have a testing pipeline that runs before releasing modules. I'll investigate this situation.

Btw, your solution to the problem is correct, we will add the same code to the module class.

Thanks for reporting.

Showing 311 to 320 of 1355 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20