Activités de "Repunjay"

Hi,

Is there a way in ABP.IO to determine user local timezone when they login and based on it display the date and time into local timezone and format? We are storing date and time in GMT+0 in database. Note - the UI is developed in Angular

Thanks & regards, Repunjay

Hi,

I'm trying to log ABP Audit Log info to AWS CloudWatch using ticket response - https://support.abp.io/QA/Questions/218

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAuditingStore))]
public class CustomAuditingStore : AuditingStore
{
    private readonly LogEventBatch _repo = new LogEventBatch();
    private readonly IAmazonCloudWatchLogs _client;
    private int _requestCount = 5;
    private static readonly Regex InvalidSequenceTokenRegex = new
    Regex(@"The given sequenceToken is invalid. The next expected sequenceToken is: (\d+)");


    public CustomAuditingStore(
    IAuditLogRepository auditLogRepository,
    IGuidGenerator guidGenerator,
    IUnitOfWorkManager unitOfWorkManager,
    IOptions<AbpAuditingOptions> options)
    : base(auditLogRepository, guidGenerator, unitOfWorkManager, options)
    {
        _client = CloudWatchLog.GetClient();
    }

The class CustomAuditStore seems to work just fine in my POC code but when I added it to my main Application project and when I run unit tests, it gives me below error -

Autofac.Core.DependencyResolutionException : An exception was thrown while activating Volo.Abp.EntityFrameworkCore.EntityHistory.EntityHistoryHelper -> ProfileManagement.CustomAuditingStore. ---- Autofac.Core.DependencyResolutionException : None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'ProfileManagement.CustomAuditingStore' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.AuditLogging.IAuditLogRepository auditLogRepository' of constructor 'Void .ctor(Volo.Abp.AuditLogging.IAuditLogRepository, Volo.Abp.Guids.IGuidGenerator, Volo.Abp.Uow.IUnitOfWorkManager, Microsoft.Extensions.Options.IOptions`1[Volo.Abp.Auditing.AbpAuditingOptions])'.

Could you please help and advise?

Hi, We are developing few microservices using ABP framework which expose HTTP APIs. These microservices will run in container and will communicate with each other internally to exchange data. We want to implement Request/Reply messaging using RabbitMQ for inter microservices communication. As ABP provides integration with RabbitMQ, I can only see publish/subscribe example in the documentation.

Need to know -

  1. Is there a way to do Request/Reply messaging between microservices using existing ABP-RabbitMQ implementation? If yes, could you please share some documentation or illustrative example?
  2. If #1 is not true, do we have to rely on native implementation of RabbitMQ to accomodate Request/Reply communication, please confirm.

Thanks, Repunjay

Hi,

I'm trying to use ABP text templates in my code by referring the TextTemplateDemo sample solution. I have followed steps in documentation and sample code, but I get below error when try to render a template from my code solution -

Please suggest?

Note sure what is causing this issue. 2020-06-05 09:49:37.476 +05:30 [ERR] ---------- RemoteServiceErrorInfo ---------- 2020-06-05 09:49:37.479 +05:30 [ERR] { "code": null, "message": "An internal error occurred during your request!", "details": null, "validationErrors": null } 2020-06-05 09:49:37.480 +05:30 [ERR] The upgradeable lock is being released without being held. System.Threading.SynchronizationLockException: The upgradeable lock is being released without being held. at System.Threading.ReaderWriterLockSlim.ExitUpgradeableReadLock() at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateAsync(TemplateDefinition templateDefinition) at Volo.Abp.TextTemplating.VirtualFiles.VirtualFileTemplateContentContributor.GetOrNullAsync(TemplateContentContributorContext context) at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(ITemplateContentContributor[] contributors, TemplateContentContributorContext context) at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(TemplateDefinition templateDefinition, String cultureName, Boolean tryDefaults, Boolean useCurrentCultureIfCultureNameIsNull) at Volo.Abp.TextTemplating.TemplateRenderer.RenderSingleTemplateAsync(TemplateDefinition templateDefinition, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.TemplateRenderer.RenderInternalAsync(String templateName, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.TemplateRenderer.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)

Hi,

We are trying to develop a microservices based application consisting of several microservices. For inter-microservices communication we plan to evaluate RabbitMQ or ActiveMQ distributed Event bus system. Do we have any integration in place to use RabbitMQ or ActiveMQ with ABP framework? What code changes needs to be done in order integrate, are there any guidelines/documentation available?

Thanks & regards, Repunjay

Hi,

We want to develop an application using ABP.IO commercial framework with backend database on AWS Aurora PostgreSQL. Need to know -

  1. Does ABP.IO supports PostgreSQL integration using Entity Framework core?
  2. Do you have any guidelines to migrate existing MS SQL database to PostgreSQL database in abp.io? How do I re-use existing migrations to migrate schema and data to PostgreSQL database?

Please suggest and advise.

Thanks & regards, Repunjay

Hi,

I'm developing an application using abp.io with Angular front-end. I'm trying to deploy and run the api into Docker container. I used Visual studio Docker support which creates a Dockerfile under project *.HttpApi.Host. The Docker image is created and a container runs successfully. But when I try to access the api from Docker using http://localhost:<Docker port> from browser, it is not accessible. However, the api is accessible when it runs from local machine using Visual Studio like http://localhost:44306.

Question -

  1. Do we have some instructions/guidelines/scripts to deploy and run abp.io asp.net core api into Docker container? To extend it further, I want to deploy and run it from AWS ECS.
  2. How do we map port of local machine which is specified in appsettings.json to the port of docker container?

Let me know if you require additional information. Any help, suggestions would be welcome.

Thanks, Repunjay

Affichage de 41 à 47 sur 47 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11