Base solution for your next web application

Activities of "lweng567"

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? 10 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net Core

Hi, After upgrading to the latest verion (v10) with .Net 5 suport, i am trying to deploy my project (.net core API) to IIS, i got the following error in the log file when i tried to start the application.

Abp.BackgroundJobs.BackgroundJobManager - Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user 'RTIMEP\DEVPC-8$'.

I am not sure why i got this error message, there is not such user Id called 'RTIMEP\DEVPC-8$'., RTIMEP is our domain name and DEVPC-8 is my machine name.

FYi: I also created a simple Core Web api and deployed to IIS, and it works , that proves the the runtime environment is configured correctly.

Thanks

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 10
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net Core

Hi,

I tried to add more setting to the AppSettingProvider, for example

this.GetFromAppSettings(FnxAppSettings.TenantManagement.FnxOrgCustomerListGrid, ""), scopes: SettingScopes.Tenant, isVisibleToClients: true),

I noticed that the sisVisibleToClients is obsolete, and I was asked to use clientVisibilityProvider, if I need to set isVisibleToClients to true or false, how would I use the clientVisivilityProvider as an equivelant?

Thanks

What is your product version? 9.3.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi,

I am seeking some advise regarding the Domain events. An example in your documentation (TaskAppService), IEventBus was injected to the application service layer. If I look at the sample EventCloud project, the IEventBus was injected in Domain Layer (EventManager), can you please advise what should be the best place or best practice to inject the IEventBus?

thanks

Question

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? 9.3.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi There, your current version is 10.1.0, should i be upgrading to the latest (our current version is 9.3.0), is there any tool for the upgrade, or do i just do it mannaully

thanks

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? 9.3.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi There,

I am seeking some advice regarding best practice on Appservices. Let say I have an Individual Entity and it has an Employment Entity. User can create an Individual entity and can later create an Employment entity for an existing Individual. So in my application layer, option one) i could create an IndividualAppservice to have a method for creating individual and a method for creating employment. or option two) i could create an IndividualAppservice for creating individual and create an employmentAppservice for creating employment for an existing individual. With option one, i will need to inject two repositories to the appservice, with** option two**, i will just inject one respective repository to each appservice.

My question is how best to construct appservice for parent and child relationship entity

  1. should i use one parent appserivce(option one) or split them into its own appservice(two)
  2. what is the optima number repository or domain manager to be injected

thanks

Question

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? 9.3.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi, I am trying to leverage event handler for EntityCreatedevent, but i noticed that i cannot use a domain manager to run the async method as it requires an await, for example, await _workflowManager.GetEntitySysInitStageAsync(individual.EntityTypeId); the await needs async Task in the HandleEvent. Can you please advise if i need to do something else to be able to run async methods from a domain manager, or this is by design

thanks

Question

What is your product version? Zero V9.1.0 the latest What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi,

I am trying to use Emailer to send email, but I could not find a way to set the ReplyTo if it is different from Sender (or from). Can you please advise how do i send the ReplyTo using Emailer

Thanks Laurie

Question

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? Zero V9.1.0 the latest What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core If issue related with ABP Framework What is ABP Framework version? Zero

Hi,

I am leveraging the predefined Events ("ing", "ed") to log when an entity is created and updated, now i need a 'get" event when an entity is retrieved from DB, i believe i can implement the event handler and GetEventData:EventData, for example and use EventBus.Trigger(new FnxEventData { Entity = individual }) in my GetIndividual method. is there any way that the GetIndividual will automatically trigger my "get" event just like the predefined Event triggered by Zero? I would prefer not to call EventBus.Trigger(new FnxEventData { Entity = individual }) in all my get methods. Thanks Laurie

Question

Prerequisites Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

What is your product version? Lastest Zero What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .netCore

Hi, In my create method, i need to first create an entity and then use the entity Id to do non-transactional activity (for example, write to a file), so I use repository<MyEntity>.InsetAndGetIdAsync to return the Id. My understanding is InsertAndGetIdAsync will commit the transaction and write the record to the database. But to my supprise, although InsertAndGetIdAsync returns a correct Id, but not database record is created if writing out the id to a file fails (means rollback), when i look at the abpEntityChange audit, the record change was actually logged with the correct Id. I thought if the file writing fails and record writing to the database was rollback, then the audit should not have been written, otherwise, user can see the audit but could not find the record.

Question

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 9.3.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net Core

If issue related with ABP Framework

  • What is ABP Framework version? Zero

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I am seeking some advice here. I have an application with many Entities and some of them are shared entities. For example, A Person entity has list of Note entities, and a Business entity also has a list of Note entities. User can create, update or delete ( the usual CRUD) Note for both Person and Business entity. In this situation, i can inject Note repository or Note Manager to PersonAppService and BusinessAppService to do all CRUD operation for Note entity, but I will have to repeat myself in two places. I was thinking of creating a common service for Note entity and inject only the commone service to PersonAppService and BusinessAppService, so I dont need to repeat myself. But then the common service will not be able to extend the BaseAppService and use ObjectMapper etc... Can you please shed some light on what will be the best practice on this?

Laurie

Showing 1 to 10 of 21 entries