ElifKaya的活动

Hi,

We upgraded version to 5.1.1 and we noticed that some style properties changed like a tag hover and float property. Can I get information about the following changes?

Bootstrap 5 advanced search links are visually broken

V4.3.3

V5.1.1

nmm site links are visually broken

V5.1.1

V4.3.3

Thanks,

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v5.1.1 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue

hi

Im not sure, this is more related to https://github.com/MiniProfiler/dotnet

Thanks for your advice. We configured MiniProfiler library on the HttpApi.Host project, then we kept miniprofiler's data by using SqlServerStorage. So, we can show miniprofiler's data from database on the Web layer. And also, we can reach miniprofilers data as configure RouteBasePath propertirs on the HttpApi.Host project. like https://localhost:44320/profiler/results

Thanks for your advice and example. It worked when I used it with redis on ABP Framework. But I can't see all sql queries yet. I can only see it on the login stage on the UI. For example, I tried a few other get api calls such as AuditLogs, but I could not see the sql queries. Is there any way to see all sql queries on miniprofiler view? Otherwise i will continue to follow on redis. Thanks

hi

Can you share your steps and error details?

We created application template (with tiered & tenant options) from abp suite platform 10 months ago. And project references was matching the solution in ABP suite. Actually, there is no difference between your example and mine about mini profiler configration. I can show the miniprofiler view in the UI but I can't show the sql query log in miniprofiler view.Somehow the AddEntityFramework() code doesn't work. There are some differences about project references. So I tried to add ApplicationModule and EntityFrameworkCoreModule as dependsOn to our WebModule as in your example. But all db request started to throw exception such as;

  1. Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext, Volo.Abp.AuditLogging.EntityFrameworkCore, Version=4.4.3.0
  2. An exception was thrown while activating Siemens.Docs.EntityFrameworkCore.DocsDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Siemens.Docs.EntityFrameworkCore.DocsDbContext, Siemens.Docs.EntityFrameworkCore, Version=1.8.37.0, Culture=neutral, PublicKeyToken=null]].
  3. Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext -> Volo.Abp.Identity.EntityFrameworkCore.IdentityProDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Abp.Identity.EntityFrameworkCore.IdentityProDbContext, Volo.Abp.Identity.Pro.EntityFrameworkCore, Version=4.4.3.0
  4. Volo.Abp.LanguageManagement.EntityFrameworkCore.LanguageManagementDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Abp.LanguageManagement.EntityFrameworkCore.LanguageManagementDbContext, Volo.Abp.LanguageManagement.EntityFrameworkCore, Version=4.4.3.0
  5. Volo.Abp.SettingManagement.EntityFrameworkCore.SettingManagementDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[Volo.Abp.SettingManagement.EntityFrameworkCore.SettingManagementDbContext, Volo.Abp.SettingManagement.EntityFrameworkCore, Version=4.4.3.0, Culture=neutral, PublicKeyToken=null]].

And also, DBContext classes are in the EntityFrameworkCore.DbMigrations project in our solution, but yours DBContext classes are in the EntityFrameworkCore project. I might be getting an error because of this.

https://github.com/abpframework/abp-samples/pull/107

Thanks for the example but adding Applicaiton and EntityFrameworkCore project references to the Web layer is the best way to solve this problem? Because when I created applicaiton template from the suite, I see that HttpApi and HttpApi.Client references as project references in the Web layer. And now, when I add the Applicaiton and EntityFrameworkCore as a project references to our current solution, the application throw an error in the runtime.

Thanks,

Hi,

We want to integrate MiniProfiler library in ABP Framework aplication project. Actually, we can show miniprofiler view, but we can not only sql query parts. (IMAGE 1&2) I noticed that _dbContext is injected on page model class in all miniprofiler examples (IMAGE 3&4), but we are using application layer and inject app service in ABP page model class. I guess that I can not reach sql query because of this reason. (IMAGE3) I shared some images to give more detail. Can you give an advice how to solve this problem?

Thanks

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v4.4.3 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue:"

hi

You can refer to this Console App.

https://github.com/abpframework/abp/blob/dev/templates/console/src/MyCompanyName.MyProjectName/Program.cs#L55

Thanks ;)

Hi,

Can you provide full steps to reproduce? thanks.

We want to reach services which in the application layer when just Design console apllication is running. Do you have any advice how can I do this?

In the first ss, we injected IApplicationSuiteManager in Design console app project, but I have reach any data from this service. In the second ss, I wanted to show that I can reach them from Domain Layer.

Actauly, Domain project has beed added as project references indirectly on Design app.

Thanks

Hi,

I added console application project (NMM.Design) to create ModelSnapshot.cs on runtime instead of using add-migration Package Manager Console Commands. Because we have to check some manager rules for our business logic before we create ModelSnapshot.cs.

So, I create ModelSnapshot.cs on runtime. I have no problem about dependency injection but I cannot reach applicaiton manager data using manager service on Design layer. I tried same senario on DbMigrator layer and also I cannot reach it on there. But I can reach same applicaiton manager on Domain Layer. Actauly, Domain layer has beed added as project references indirectly on Design or DbMigrator layer. And also I think that I added necessary modeule as dependOn in DesignModule.cs.

Do you have any advice to reach applicaiton manager on other console application project such as DbMigrator layer?

Thank you in advice

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v4.4.3 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue:"

Hi,

We have some questions about feature managment. We want to manage features on backend and also UI side. Firstly, we add GlobalDocsFeatures.cs,

using Volo.Abp.GlobalFeatures;
using Volo.Abp.Reflection;

namespace Siemens.Docs.Features
{
    [GlobalFeatureName("GlobalDocsFeatures")]
    public class DocsFeatures : GlobalFeature
    {
        public const string GroupName = DocsConsts.Name;


        public new const string Enable = GroupName + ".Enable";

        public static string[] GetAll()
        {
            return ReflectionHelper.GetPublicConstantsRecursively(typeof(DocsFeatures));
        }
        public DocsFeatures(GlobalModuleFeatures module)
           : base(module)
        {
        }
    }
}

and then, we enabled in domain module.

      public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            GlobalFeatureManager.Instance.Enable<DocsFeatures>();
        }

Then we check if its enabled, we are adding data tables and, creating seed data of this module. We have no problem so far.

But, we want to manage same feature on UI side. But, it can not be ignored backend code. Forexample, if we disabled this feature on Edition Features Modal, we hope that does not contains this module entitiy and seeder data when we create new tenant.

Can you give an advice to us about this problem?

Thanks, Elif

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v4.4.3 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue:"

显示 101 个条目中的 81 到 90 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11