Starts in:
2 DAYS
0 HR
17 MIN
50 SEC
Starts in:
2 D
0 H
17 M
50 S

Activities of "Neozzz"

Hi,

I mean the application error log : ).
Hi, Please find the below link to the log file in the httpapi.host project.

https://commitme-my.sharepoint.com/:t:/g/personal/naeem_comm-it_com_sa/Eb8xKWHKJ6tNvmx3KaVc57gBPGpxCD6uEdzkBZM7sQz3cA?e=ZUXRHk

Thank you :)

Hi,

Can you share the error stack? thanks.

{ "userId": "dcf37353-fc1d-0bb5-e820-39fc86c50a1e", "userName": "admin", "tenantId": null, "impersonatorUserId": null, "impersonatorTenantId": null, "executionTime": "2021-06-01T07:19:20.16Z", "executionDuration": 5, "clientIpAddress": "::1", "clientName": null, "browserInfo": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.66", "httpMethod": "POST", "url": "/api/app/company-branch", "exceptions": "", "comments": "", "httpStatusCode": 500, "applicationName": null, "correlationId": "6625a18b1f1747a7a1fdb7e7664ccfab", "entityChanges": [], "actions": [], "id": "e6ecd896-becd-ad49-8f8c-39fcd89dc565", "extraProperties": {} }

Please let me know if this is what you wanted.
Thank you

hi. please update. thank you.

We have a collection called Company with properties like name, address etc. Then we have a collection called CompanyBranch with properties:

public Guid CompanyId { get; set; } public string BranchName { get; set; } public Address Address { get; set; }

Where the id of the initial collection called "Company" will be stored in "CompanyId" property of the "CompanyBranch" collection.

There is a one to many relationship between company and companyBranch where 1 company can have multiple companyBranches.

The CompanyBranch app service code to create a companyBranch entity is as follows:

  • SolutionName.Application/CompanyBranches
namespace SolutionName.CompanyBranches
{
        private readonly ICompanyRepository _companyRepository;
        private readonly ICompanyBranchRepository _companyBranchRepo;
        private readonly CompanyBranchManager _companyBranchManager;

        public CompanyBranchAppService(
            ICompanyBranchRepository companyBranchRepo,
            ICompanyRepository companyRepository,
            CompanyBranchManager companyBranchManager)
        {
            _companyBranchManager = companyBranchManager;
            _companyBranchRepo = companyBranchRepo;
            _companyRepository = companyRepository;
        }

        #region CREATE
        public async Task<CompanyBranchDto> CreateAsync(CreateUpdateCompanyBranchDto input)
        {
            var branch = await _companyBranchManager.CreateAsync(                
                input.BranchName,
                input.CompanyId,
                input.Address);

            var companyBranchDto = ObjectMapper.Map<CompanyBranch, CompanyBranchDto>(branch);
            companyBranchDto.CompanyName = await _companyRepository.FindByIdAsync(branch.CompanyId);
            await _companyBranchRepo.InsertAsync(branch);
            
            return companyBranchDto;
        }
        #endregion
}

The error response on executing the create api looks like this:

Trying to put the breakpoint I am not able to get any response from visual studio, the request just finishes with the error without pausing. Please let me know where the issue might be.

Thank you.

I dont want to use admin and saas in mongo. I want to use it as sql as they're part of the main microservice sln called 'ZW' which uses efcore. My microservice "CompanyService" service should use mongo only for crud on the entities in that.

As explained in the first post:

ZW - name of main microservice solution uses angular and efcore ZW.CompanyService - name of the microservice service project which uses angular and mongo.

Hi I added the MongoDB project and removed the EntityFameworkCore project. I am still facing the same problem. It looks like when I add mongo reference its trying to use everything associated with the project like saas and admin to work with mongo. I only want to use mongo for CRUD purposes of an entity.

Please help Tx.

We created a microservice solution using the following command: abp new ZW -t microservice-pro -u angular

Then we added a microservice-service to the solution using: abp new CompanyService -t microservice-service-pro

Now I want to use MongoDB on the newly added µservice-service and keep using the ef core for the main solution for identity and other related features.

I've already tried to add mongodb into CompanyService µservice-service. I am getting issues with

Please let me know if this is possible, and if so is there any best practice?

Thank you

  • ABP Framework version: v4.3
  • UI type: Angular
  • DB provider: EF Core & MongoDB

Hi issue is resolved. I had added a file management service to the main solution.

abp new FileMgmt -t microservice-service-pro cd services/FileMgmt/...Application abp add-module Volo.FileManagement dotnet add package Volo.Abp.BlobStoring.Database.MongoDB --version 4.3.0

Turns out I have to add license to this project as well even though am only running the SubProject that doesn't require any commercial module.

Since our developers are working remotely not eveyrone has a workstation capable of pulling several containers at their home. So we have deployed a couple of linux VMs in our VPN for the developers to wire up their local solution instances to containers of grafana, edis etc.

The concern here is the tye configuration. How can we configure tye for these workstations when we use containers on remote VMs?

  • ABP Framework version: v4.3
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): microservice template
  • Exception message and stack trace:
  • Steps to reproduce the issue:

the newly created microservice service solution.

updated 28th,apr.

please update.

Showing 111 to 120 of 128 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06