Hello everyone, I need to change the Data Layer on abp. Instead of Entity Framework Core (EfCore), I wanted to utilize DevExpress's eXpress Persistent Object (XPO), but it compelled me to use it. Do you have any resources that might assist me in completing this task? Alternatively, do you have any samples? I hope your kind and considering my concern thanks.
XPO Link: https://www.devexpress.com/products/net/orm/
Hi gterdem,
I've submitted a community-article-requiest
on Github, but I think it takes time to be noticed by the team? because until now there is no reply on this. But anyway, Is there any possible to add another Data Access for Abp? I want to utilized the Xpo from DevExpress which is required by my client. My problem here is that I'm having a hard times of manually configure and build a context of it. Is there any possible for this? can you please give me some insight on this. Thank you.
I tried to copy the implementation of MongoDb Integration, but everything seems to fail. I plan to just add another Data Access layer and use DevExpress's Xpo ORM.
Hello, Jeff and I are team members, however he is now unable to respond.
Here is the appsettings.json file
{
"ConnectionStrings": {
"ProductService": "mongodb://root:root123@localhost:27017/CMVPoint_ProductService?authSource=admin"
},
"RemoteServices": {
"Default": {
"BaseUrl": "https://localhost:44325/"
}
},
"IdentityServer": {
"AuthUri": "https://localhost:44322",
"GatewayUri": "https://localhost:44325",
"BrowserPort": 54955,
"Oidc": {
"RedirectUri": "http://127.0.0.1:54955/signin-oidc",
"ClientId": "CmvPoint_WpfClient",
"ClientSecret": "1q2w3e*",
"Scope": "openid profile email ProductService AdministrationService IdentityService ShareholderService GlobalService"
}
}
}
In the meanwhile, here is globalServicegenerate-proxy.json. This is too long to put here, so I've uploaded it to Google Drive instead.
https://drive.google.com/file/d/1TQV3-oQe4Pry6DYTYFgqMsKAkPV4Fa3T/view?usp=sharing
Thank You!
Hello, Yes sure, I'll send you an invitation.
Hello everyone, I have question regarding on application of Localization on my Wpf client. I have microservices, which my wpf client connected through client proxy. I wanted to reuse my localization on my shared domain on one of my service to put it out on my wpf application. Do you have any article explaining oh how can we utilized it? Thanks in advance.
An exception was thrown while activating Microsoft.Extensions.Localization.StringLocalizer1 [[CmvPoint.ContactService.Localization.ContactServiceResource, CmvPoint.ContactService.Domain.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.Localization.AbpStringLocalizerFactory -> Volo.Abp.AspNetCore.Mvc.Client.RemoteExternalLocalizationStore.
Inner Exception
Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Volo.Abp.AspNetCore.Mvc.Client.RemoteExternalLocalizationStore' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.AspNetCore.Mvc.Client.ICachedApplicationConfigurationClient configurationClient' of constructor 'Void .ctor(Volo.Abp.AspNetCore.Mvc.Client.ICachedApplicationConfigurationClient, Microsoft.Extensions.Options.IOptions1[Volo.Abp.Localization.AbpLocalizationOptions])'. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass12_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
The steps I've taken:
typeof(AbpLocalizationModule)
on my WPF ModuleConfigure<AbpLocalizationOptions>(options => { options.Resources .Add<ContactServiceResource>("en"); });
*** Note that the ContactServiceResource
Referenced to my Contact Service on my Abp.
IStringLocalizer
on my view Modelprivate IStringLocalizer<ContactServiceResource> _localizer => GetService<IStringLocalizer<ContactServiceResource>>();
var test = _localizer["HelloWorld"];
Hello maliming, Can we have a remote instead?
Hi
Thank you for your prompt response to my previous inquiry regarding the issue I encountered with Localization. I appreciate your willingness to assist.
Despite the fact that I recognize how crucial it is to make the source code available for debugging, I want to inform you that my project's source code is restricted.
If so, Are you able to have a short time meeting for remote session instead? or can you provide an example implementation on it with WPF, and send me through jimwellbuot@gmail.com email? Thank you!
Have a great day!
Hello, I have an issue with generating a client proxy. Every time I need to regenerate a static client proxy using the command:
abp generate-proxy -t csharp -m myService -u https://localhost:44769 --without-contracts
an issue occurs. I don't understand why it happens, and I don't have any idea how to resolve it.
Method 'AllotShare' cannot implement method from interface 'CmvPoint.ShareholderService.ShareTransactions.IShareTransactionAppService'. Return type should be 'System.Threading.Tasks.Task<CmvPoint.ShareholderService.ShareTransactions.ShareTransactionDto>'.
Inner Exception
Don't have any inner exception.
The steps I've taken:
IShareTransactionAppService
Task<ShareTransactionDto> AllotShare(AllotShareInputDto input);
on my IShareTransactionAppService
For the reference: I've attached the image which is the IShareTransactionAppService