Need help on how to implement grpc for a microservice solution. I followed the article here: https://community.abp.io/posts/using-grpc-with-the-abp-framework-2dgaxzw3 but this was for a single-layer application project.
We have multiple host services running and each have a different port for gRPC, how can I configure to forward them in the WebGateway project?
abp generate-proxy -t csharp -u https://localhost:44395/ -m globalService
The API description of the CmvPoint.GlobalService.Controllers.IDataReferenceAppService.GetNextReferenceIdAsync method was not found!
Even trying to change the configuration on the client module using AddStaticHttpClientProxies
and AddHttpClientProxies
isn't working.
ABP Framework version: v7.0.1
UI type: Blazor Server
DB provider: EF Core
Project Template: Microservice
Steps to reproduce the issue:"
Exception message and stack trace: [08:14:01 FTL] Dummy.AdministrationService.HttpApi.Host terminated unexpectedly! System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Commercial.SuiteTemplates, Version=7.0.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.Abp.Commercial.SuiteTemplates, Version=7.0.1.0, Culture=neutral, PublicKeyToken=null'
public interface IReferenceObject{
string ReferenceId {get;}
}
public class Book : FullAuditedAggregateRoot<Guid>, IReferenceObject{
public Book(Guid id, string referenceId){
Id = id;
ReferenceId = referenceId;
}
public string ReferenceId { get; }
public string Title { get; set; }
}
My goal is to subscribe on create event to every entities that inherits the IReferenceObject
.
I read the documentation here https://docs.abp.io/en/abp/latest/Local-Event-Bus#pre-built-events and tried this:
public class ReferenceObjectEventHandler : ILocalEventHandler<EntityCreatedEventData<IReferenceObject>>, ITransientDependency
{
public async Task HandleEventAsync(EntityCreatedEventData<IReferenceObject> eventData)
{
Console.WriteLine($"Created an entity with reference id {eventData.Entity.ReferenceId}");
}
}
But it's not working..any suggestion?
Hi,
Would just like to know if know all the crucial parts in data layer that will be affected by integrating devexpress xpo orm. I compared and found that the xpo and abp efcore has different parts that might have conflicts while integrating xpo:
Would be glad for assistance integrating xpo orm on abp.
Hi,
Any help how can I achieve adding another 2FA verification provider in abp framework? I'm about to add DUO universal prompt from their web sdk like the sample here in github: https://github.com/duosecurity/duo_universal_csharp/tree/main/DuoUniversal.Example Add it as an added layer for authentication, I want to add logic like show only duo 2fa if user login for the first time or the 2fa token expires.
Just created new microservice solution from the abp 6.0 with blazor server ui template option and it was very slow. Any idea or tips how to overcome this issue?
Here's the link for the video: https://1drv.ms/v/s!AtJ45JuwwmAKgaZsGf55o3YezWensA?e=Ftb4RZ
I have a microservice backend and WPF as client application. I'm using client proxy for fetching data from backend, my concern is sometimes I'm struggling to find the existing ClientProxies and finding the permissions definition for template services.
[DependsOn(typeof(AdministrationServiceHttpApiClientModule))]
public class AdministrationServiceWpfModule : AbpModule{
...
}
...
var auth = ServiceCollection.GetRequiredService<IAuthorizationService>();
var result = await auth.IsGrantedAsync("AbpIdentity.Users");
//result is always false
Since the update 6.0 has the IdS replaced with the OpenIddict, I've been thinking how can I use it as a SAML2 Identity Provider since a client required us to use the DUO Single Sign-On and we were about to use the ABP's identity provider as an identity source for DUO SSO. Found this issue that OpenIddict can't be integrated in a SAML2P env but that was 6 years ago and hoping it won't be a case today since OpenIddict has updates (fingers crossed). We are migrating our existing projects to OpenIddict since IdS will end it's open-source support this year. I'm wondering if there is a way we can get out from this dilemma.