Activities of "Teknosol"

Here is the log of the scenario where I opened the API and sent a request with the tenant.


2024-12-20 12:40:55.426 +03:00 [INF] Starting web host. 2024-12-20 12:40:57.458 +03:00 [INF] Loaded ABP modules: 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryHttpApiHostModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryApplicationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryDomainModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Data.AbpDataModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.AbpJsonModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryDomainSharedModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryApplicationContractsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.EntityFrameworkCore.InventoryEntityFrameworkCoreModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryHttpApiModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Http.AbpHttpModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.UI.AbpUiModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule 2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.Client.AbpAspNetCoreMvcClientModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.Client.AbpAspNetCoreMvcClientCommonModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.AbpHttpClientModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.RemoteServices.AbpRemoteServicesModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.Web.AbpHttpClientIdentityModelWebModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule 2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.IdentityModel.AbpIdentityModelModule 2024-12-20 12:40:57.815 +03:00 [INF] User profile is available. Using 'C:\Users\ali.ozen\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. 2024-12-20 12:40:57.876 +03:00 [INF] Initialized all ABP modules. 2024-12-20 12:40:58.089 +03:00 [INF] Now listening on: https://localhost:44350 2024-12-20 12:40:58.264 +03:00 [INF] Application started. Press Ctrl+C to shut down. 2024-12-20 12:40:58.265 +03:00 [INF] Hosting environment: Development 2024-12-20 12:40:58.265 +03:00 [INF] Content root path: C:\Github\Inventory test\Inventory\host\Inventory.HttpApi.Host 2024-12-20 12:40:59.063 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/ - null null 2024-12-20 12:40:59.163 +03:00 [WRN] The 'WebRootPath' is not set! The 'CheckLibs' feature is disabled! 2024-12-20 12:41:01.424 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. 2024-12-20 12:41:01.428 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/application-configuration?* 2024-12-20 12:41:01.429 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/application-configuration?* 2024-12-20 12:41:01.490 +03:00 [INF] Received HTTP response headers after 58.4356ms - 200 2024-12-20 12:41:01.490 +03:00 [INF] End processing HTTP request after 64.6284ms - 200 2024-12-20 12:41:02.230 +03:00 [INF] Executing endpoint 'Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host)' 2024-12-20 12:41:02.245 +03:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller Inventory.Controllers.HomeController (Inventory.HttpApi.Host). 2024-12-20 12:41:02.279 +03:00 [INF] Executing RedirectResult, redirecting to /swagger. 2024-12-20 12:41:02.283 +03:00 [INF] Executed action Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host) in 35.0229ms 2024-12-20 12:41:02.283 +03:00 [INF] Executed endpoint 'Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host)' 2024-12-20 12:41:02.291 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/ - 302 0 null 3232.2233ms 2024-12-20 12:41:02.295 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/index.html - null null 2024-12-20 12:41:02.344 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/index.html - 200 null text/html;charset=utf-8 49.2841ms 2024-12-20 12:41:02.349 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/_framework/aspnetcore-browser-refresh.js - null null 2024-12-20 12:41:02.351 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/index.js - null null 2024-12-20 12:41:02.355 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/index.js - 200 null application/javascript;charset=utf-8 4.3018ms 2024-12-20 12:41:02.360 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/_framework/aspnetcore-browser-refresh.js - 200 13796 application/javascript; charset=utf-8 10.2654ms 2024-12-20 12:41:02.400 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/_vs/browserLink - null null 2024-12-20 12:41:02.431 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/_vs/browserLink - 200 null text/javascript; charset=UTF-8 30.7041ms 2024-12-20 12:41:02.594 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/v1/swagger.json - null null 2024-12-20 12:41:02.633 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/v1/swagger.json - 200 null application/json;charset=utf-8 38.762ms 2024-12-20 12:41:20.890 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/oauth2-redirect.html?code=ggu2bASAr9jIRkt94oCFhkuzi6VAkOy5yxl6e4xAOXk&state=RnJpIERlYyAyMCAyMDI0IDEyOjQxOjA3IEdNVCswMzAwIChHTVQrMDM6MDAp&iss=https%3A%2F%2Flocalhost%3A7600%2F&culture=tr&ui-culture=tr - null null 2024-12-20 12:41:20.901 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. 2024-12-20 12:41:20.901 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/multi-tenancy/tenants/by-id/3a16f544-5a10-c898-50d8-59ca7a28525d?* 2024-12-20 12:41:20.901 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/multi-tenancy/tenants/by-id/3a16f544-5a10-c898-50d8-59ca7a28525d?* 2024-12-20 12:41:20.948 +03:00 [INF] Received HTTP response headers after 47.0764ms - 200 2024-12-20 12:41:20.949 +03:00 [INF] End processing HTTP request after 47.4458ms - 200 2024-12-20 12:41:22.889 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. 2024-12-20 12:41:22.890 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/application-configuration?* 2024-12-20 12:41:22.890 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/application-configuration?* 2024-12-20 12:41:22.924 +03:00 [INF] Received HTTP response headers after 34.5016ms - 200 2024-12-20 12:41:22.924 +03:00 [INF] End processing HTTP request after 34.789ms - 200 2024-12-20 12:41:22.974 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server! 2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server! 2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server! 2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server! 2024-12-20 12:41:22.981 +03:00 [WRN] Kiracı bulunamadı! Volo.Abp.BusinessException: Kiracı bulunamadı! at Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(Boolean saveResolveResult) at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) 2024-12-20 12:41:22.981 +03:00 [WRN] Code:Volo.AbpIo.MultiTenancy:010001 2024-12-20 12:41:22.981 +03:00 [WRN] Details:Kiracı kimliğine veya adına sahip bir kiracı yok: 3a16f544-5a10-c898-50d8-59ca7a28525d 2024-12-20 12:41:23.000 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/oauth2-redirect.html?code=ggu2bASAr9jIRkt94oCFhkuzi6VAkOy5yxl6e4xAOXk&state=RnJpIERlYyAyMCAyMDI0IDEyOjQxOjA3IEdNVCswMzAwIChHTVQrMDM6MDAp&iss=https%3A%2F%2Flocalhost%3A7600%2F&culture=tr&ui-culture=tr - 404 null text/html; charset=utf-8 2110.2116ms 2024-12-20 12:41:23.038 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/favicon.ico - null null 2024-12-20 12:41:23.042 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/favicon.ico - 404 0 null 3.7907ms 2024-12-20 12:41:23.042 +03:00 [INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44350/favicon.ico, Response status code: 404


Actually this url is registered in OpenIddictApplications table. When I want to authorize in Swagger, I get this error when I type tenant. If I don't type tenant, I can log in successfully. This problem didn't happen in abp 7.1.1 version, it happened when I upgraded to 9.

Thanks for your answer Liang, now the project is opening. But the error has changed to another type. I am doing remote service via gateway using MyMvcCachedApplicationConfigurationClient. The API that does remote service has abp9 version and Identity service now works on abp9. When I log in with tenant, I get the following error. Can you support me for this?

The error occurs while the GetAsync method is returning.

` [ExposeServices(typeof(ICachedApplicationConfigurationClient))] public class MyMvcCachedApplicationConfigurationClient : ICachedApplicationConfigurationClient, ITransientDependency { protected IHttpContextAccessor HttpContextAccessor { get; } protected AbpApplicationConfigurationClientProxy ApplicationConfigurationAppService { get; } protected AbpApplicationLocalizationClientProxy ApplicationLocalizationClientProxy { get; } protected ICurrentUser CurrentUser { get; } protected IDistributedCache

 public MyMvcCachedApplicationConfigurationClient(
     IDistributedCache<ApplicationConfigurationDto> cache,
     AbpApplicationConfigurationClientProxy applicationConfigurationAppService,
     ICurrentUser currentUser,
     IHttpContextAccessor httpContextAccessor,
     AbpApplicationLocalizationClientProxy applicationLocalizationClientProxy)
 {
     ApplicationConfigurationAppService = applicationConfigurationAppService;
     CurrentUser = currentUser;
     HttpContextAccessor = httpContextAccessor;
     ApplicationLocalizationClientProxy = applicationLocalizationClientProxy;
     Cache = cache;

 }

 public async Task<ApplicationConfigurationDto> GetAsync()
 {
     var cacheKey = CreateCacheKey();
     var httpContext = HttpContextAccessor?.HttpContext;

     if (httpContext != null && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration)
     {
         return configuration;
     }

     configuration = await Cache.GetOrAddAsync(
         cacheKey,
         async () => await GetRemoteConfigurationAsync(),
         () => new DistributedCacheEntryOptions
         {
             AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(5) //TODO: Should be configurable.
         }
     );

     if (httpContext != null)
     {
         httpContext.Items[cacheKey] = configuration;
     }

     return configuration;
 }

 private async Task<ApplicationConfigurationDto> GetRemoteConfigurationAsync()
 {
     var config = await ApplicationConfigurationAppService.GetAsync(
         new ApplicationConfigurationRequestOptions
         {
             IncludeLocalizationResources = false
         }
     );

     return config;
 }

 public ApplicationConfigurationDto Get()
 {
     var cacheKey = CreateCacheKey();
     var httpContext = HttpContextAccessor?.HttpContext;

     if (httpContext != null && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration)
     {
         return configuration;
     }

     return AsyncHelper.RunSync(GetAsync);
 }

 protected virtual string CreateCacheKey()
 {
     var userKey = CurrentUser.Id?.ToString("N") ?? "Anonymous";
     return $"ApplicationConfiguration_{userKey}_{CultureInfo.CurrentUICulture.Name}";
 }

}`

  • ABP Framework version: v9.0.2
  • UI Type: Angular / MVC
  • Database System: EF Core ( PostgreSQL, )
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/

Hi, I upgraded my identity project to abp 9.0.2, but I get this error when running the project. I was previously using version 7.1.1 and this error did not exist. How can I solve it?

Error message and installed nuget packages:

Logs: 2024-12-19 17:13:03.417 +03:00 [FTL] Host terminated unexpectedly! System.TypeLoadException: Could not load type 'Volo.Abp.MultiTenancy.ICurrentTenant' from assembly 'Volo.Abp.MultiTenancy, Version=9.0.2.0, Culture=neutral, PublicKeyToken=null'. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0() at System.Reflection.RuntimeConstructorInfo.GetParametersAsSpan() at System.Reflection.RuntimeConstructorInfo.GetParameters() at Autofac.Extensions.DependencyInjection.AutofacRegistration.AddFromKeyedServiceParameterMiddleware(Object sender, ComponentRegisteredEventArgs e) at Autofac.Core.Registration.ComponentRegistryBuilder.OnRegistered(Object sender, IComponentRegistration e) at Autofac.Core.Registration.DefaultRegisteredServicesTracker.AddRegistration(IComponentRegistration registration, Boolean preserveDefaults, Boolean originatedFromDynamicSource) at Autofac.Core.Registration.ComponentRegistryBuilder.Register(IComponentRegistration registration, Boolean preserveDefaults) at Autofac.Builder.RegistrationBuilder.RegisterSingleComponent[TLimit,TActivatorData,TSingleRegistrationStyle](IComponentRegistryBuilder cr, IRegistrationBuilder`3 builder) at Autofac.RegistrationExtensions.<>c__DisplayClass40_0.

In the solution you mentioned it continues to work in memory. Don't I need such a configuration to convert it to Memcache? :

context.Services.AddSingleton<IDistributedCache<"ApplicationConfigurationDto">, Definition.Caching.MemcachedCache>();

this picture shows where I used cache.

Thanks for your answer but could not be solved.

As you can see in the image above, you have a module for redis, do you also have a module for memcache?

In the picture below, I manage permissions by performing a remote service. This class also uses cache. How should I proceed to transfer this to memcache?

Thanks for your answer There is a line on this page about using Memcached. Is there an example of its implementation?

https://abp.io/support/questions/6344/Why-do-we-need-to-install-Redis-When-is-it-used-Why-Redis-is-needed

  • ABP Framework version: v7.1.1
  • UI Type: Angular
  • Database System: EF Core ( PostgreSQL,..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Is it possible to replace the redis cache used in our abp project with another brand (memcache, ehcache, hazelcache)?

The problem is solved, we were able to register both IDs, thank you. When we add the authorize attribute to the method as in the picture, it enters the method, but we want to check the authorization, how can we do it?

I deleted the comma but this time it does not write the CreatorId in the db.

Showing 1 to 10 of 79 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09